fulhasem.blogg.se

Orcaflex python
Orcaflex python






orcaflex python
  1. #Orcaflex python generator#
  2. #Orcaflex python full#
  3. #Orcaflex python free#

This cookie is set by GDPR Cookie Consent plugin. The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". The cookie is used to store the user consent for the cookies in the category "Analytics". These cookies ensure basic functionalities and security features of the website, anonymously. Given a vessel of specifed length, depth and beam.Necessary cookies are absolutely essential for the website to function properly. Scale the default OrcaFlex vessel type drawing

orcaflex python

vessel_drawing ( length, depth, beam, bow_scale=(0.9, 0.95), vessel_type=None ) ¶ Returns None if the drive is not mapped (e.g. Useful because some distributed OrcaFlex versions Check specific range of modes with from_mode and to_mode. List of (Mode Number, Modal Period, Modal Frequency) tuples for modal analysis of get_modes ( model, line, from_mode=-1, to_mode=100 ) ¶ The peak shape parameter (gamma) according to DNV-RP-H103 2.2.6.9 pyofx. sim filepath forįilename name in directory. dat_sim_paths ( directory, name, yml=False ) ¶

#Orcaflex python free#

Useful for polling to wait for a free licence. Otherwise the correct array is copied to the clipboard to paste If ofx_object is provided then the object drawing will be changed Scale the standard 6D buoy cuboid to width and height of size OFXError ¶īranded errors so we know it’s our fault pyofx. There are various other options as detailed in the api_docs_: exception pyofx. The path to the file rather than the Model object we can pass return_model=False and to return

#Orcaflex python generator#

Note that in the above example the generator yields Model objects of the.

orcaflex python

> for model in Models ( r"C:\Users\User\Project\OrcaFlex" ). Suppose we have saved some simulations in C:UsersUserProjectOrcaFlex, to iterate over all Models ( directories, filetype='dat', subdirectories=False, return_model=True, filter_function=None, failed_function=None, virtual_logging=False ) ¶Ī generator which yields OrcaFlex files in directories. Option to add a test function to further filter the list six_d_buoys ¶Īll the objects of type ot6DBuoy vessels ¶Īll the objects of type otLine class pyofx. List of all objects in model with typeName equal to type_name added attribute six_d_buoys, shortcut to objects_of_type(‘6DBuoy’)Īll the objects of type otLine objects_of_type ( type_name, test=None ) ¶.added attribute vessels, shortcut to objects_of_type(‘Vessel’).added attribute lines, shortcut to objects_of_type(‘Line’).CreateObject ( otVessel, 'Bigger Boat' ) > for v in model. added path attribute so the location of the model on the disc can be found from:.

orcaflex python

Wrapper around OrcFxAPI.Model to add extra functionality. To run statics only use statics=True class pyofx. If wait=True then wait until the jobs complete to return. Submit the jobslist to Distributed Orcaflex. IP address of machine last run on, AutoSave interval, OrcFxAPI DLL version and Owner, Status, Start Time, Completed Time, Name of machine last run on,

#Orcaflex python full#

Each job will be returnedĪs a dictionary with the following keys: Job ID, Simulation file name including full path, list ( ) ¶Ī generator for all the jobs on the Distributed Orcaflex Server. Optionally takes a variables object to represent information about the job. add_file ( filepath, variables=None ) ¶Īdds a filepath (must be network path or a mapped drive) to the list of jobs to run. run ( True ) > print "All jobs finished" # This won't print unitll the simulations are complete.








Orcaflex python