dilasas.blogg.se

Orcaflex python
Orcaflex python




  1. Orcaflex python install#
  2. Orcaflex python update#
  3. Orcaflex python keygen#

INFO, format = ' %(levelname)-8s : %(message)s ' ) bem_solver = cpt. The syncing operation will continue until you stop it by killing the process or pressing CRTL+C.Import logging import numpy as np from numpy import pi import capytaine as cpt from import Plane logging. You can then run the sync command: ofxcs sync There is no need to add the folders every time you start the sync, it will remember which folders you want. You start by adding the folders that you specified in the models: ofxcs add -folder my_ofx_project Now you want to sync them to you local machine. With ofxcs configured and post calculations specified, simulations run in batch processing or distributed OrcaFlex will be automatically uploaded to the cloud. The folder name can contain only alphanumeric and the following special characters: ! - _. This is how your simulations will be organised in the cloud. You also need to add a tag on General of FOLDER in every model. It might be easier to move the file to somewhere like C:\pca_ofx2cloud.py so it will be consistent on all machines. NOTE: The default location for pca_ofx2cloud.py is based on your local user profile and may be different on remote computers. The Script File Name is wherever you saved the file during the ofxcs configure process above. Action type needs to be In-process Python and version must be Python 3. In every model you want to sync you must specify a Post calculation action. Now you have configured ofxcs you can start to sync simulations to the cloud. If you lose the key file there will be no way to decrypt the simulation files stored in the cloud. IMPORTANT: You should only do this once for your company and then share the key file internally and have each user configure their system with this key file.

Orcaflex python update#

This will save a key file and optionally it will update the local config to point to the key file.

Orcaflex python keygen#

This is done with a key file, you can generate these with: ofxcs keygen Encryption allows you to ensure that your stored simulation files can only ever be read by people in your company. See section below for more details.Īccess to your bucket is restricted only to people who have access to the cloud key and secret and the administrator of the cloud account.

  • It will ask you if you have a key file.
  • It will ask where you want to save local simulations when they are synced back to your local drive.
  • You will need to point to this from all your models
  • It will ask you where you want to copy the post calculation action script.
  • It will ask you to enter your cloud key details, bucket and the region that your bucket is based in.
  • The ofxcs tool will guide you through configuration: ofxcs configure

    Orcaflex python install#

    YOU WILL NEED TO INSTALL AND CONFIGURE ON EVERY MACHINE THAT YOU WANT TO RUN SIMULATIONS OR SYNC SIMULATIONS LOCALLY Sync sync files from cloud to local drive Keygen generates a keyfile used to encrypt simulation data If you have successfully installed the tool with pip then you should be able to type: ofxcsĪnd see something like: Usage: ofxcs COMMAND1.].Ĭommand line interface to orcaflex-cloudsync.

    orcaflex python

    Our solution to this comes in the form of a command line tool called ofxcs combined with a post calculation action script in OrcaFlex. cloud servers within a private network with no remote access.corporate VPN making everything terrible.There are a few reasons you might want this: This tool tries to solve the problem of running OrcaFlex simulations on remote servers but then wanting to have the simulation files on a local machine for viewing/processing. Installing Using pip pip install orcaflex-cloudsync Cloud Key ID, Secret and Bucket (these can either be from your own AWS account or you can request some from us).Python 3.6+ installed on all servers and local machines.Tool which allows syncing of OrcaFlex simulation files to the cloud and back to local drives.






    Orcaflex python