Batch
Batch Mode command line descriptions of all the options
modelbuilder [-h] [-p <str>] [-li <str>] [-ro <str>] [-cm] [-rom <str>] [-noe <num>] [-bre] [-brm] [-brf] [-brc]
-h, --help # displays help on the command line parameters
-p, --project=<str> # path to iROM-project file
-li, --loadsinput=<str> # path to the loads (input) file
-ro, --resultsoutput=<str> # path to the result (output) file
-cm, --compilemodel # compile 3D model
-rom, --rommethod=<str> # select the rom method, value can be either "fem" or "qa"
-noe, --eigenvalues=<num> # number of eigenvalues
-bre, --builromeigen # build rom model [eigensolution]
-brm, --builrommech # build rom model [addtional mechanics]
-brf, --builromfluid # build rom model [fluidmechanics]
-brc, --builromcomb # build rom model [capacitances/ pcaps/ damping combcells]
Full Example:⚓︎
C:\Users\USERNAME\AppData\Roaming\i-ROM\modelbuilder.exe -p D:\Simulation\MYPROJECTPATH\PROJECTNAME.iromproj -li Load_example.irommod -ro Result_Example.txt -cm -rom FEM -noe 10 -bre -brm -brf -brc
This example first triggers "Build Solids", then "Build ROM" and finally executes a simulation.
Build Solids and Build ROM Only (Prepare Model)⚓︎
C:\Users\USERNAME\AppData\Roaming\i-ROM\modelbuilder.exe -p D:\Simulation\MYPROJECTPATH\PROJECTNAME.iromproj -cm -rom FEM -noe 10 -bre -brm -brc
- It is the recommended workflow to "Build Solids" and "Build ROM" first, then in a second step trigger a simulation based on a prebuild model.
Run Simulation Using Prebuilt Model⚓︎
C:\Users\USERNAME\AppData\Roaming\i-ROM\modelbuilder.exe -p D:\Simulation\MYPROJECTPATH\PROJECTNAME.iromproj -li Load_example.irommod
- This step is recommended when a valid ROM build already exists.
- It’s typically used for iterating through different load cases (e.g. varying a voltage).
- An optimal workflow is to run one simulation, evaluate the result, save it and then define a new parameter set.
Additional Batch Mode Specific Commands⚓︎
These Commands are only valid within the load case script and are i-ROM specific commands to extract rom or simulation results. Examples can be found in the following explorer folder "%appdata%\i-ROM\ProjectFiles\BatchMode"
Export ROM Model Data Values⚓︎
Export all ROM processor data
RDAT;
Export ROM processor nodal results
RNOD,nodeType,nodeNumber,direction;
- param1: node type [
rb,mn] - param2: node number [int]
- param3: result type [
fx,fy,fz- force], [mx,my,mz- moment], [ux,uy,uz- displacement], [rx,ry,rz- rotation]
Export ROM Frequencies
RFRQ,startInded,endIndex,indexStep;
Example:´
RFRQ;
RFRQ,all;
RFRQ,index;
RFRQ,startInded,endIndex,indexStep;
Export rom damping matrix
RDMA;
Example:
RDMA;
RDMA,mat;
RDMA,prop;
Export Solution Values⚓︎
Export all solver/solution data
SDAT;
Export solver/solution operation point.
SOPP,rb,bodyNumber,direction,flag;
(Similar to the SCON and SNOD command.)
Export solver modal amplitude (q-Values)
SMAQ,mode_nr,flag;
Example:
SMAQ,mode_number;
SMAQ,mode_number,compl;
SMAQ,mode_number,ampl;
SMAQ,mode_number,phase;
Export Solver Frequencies (simulation type harm)
SFRQ,startInded,endIndex,indexStep;
Example:
SFRQ;
SFRQ,all;
SFRQ,index;
SFRQ,startInded,endIndex,indexStep;
Export solver derivative of q with respect to time (dq/dt) (simulation type harm)
SQDT;
Export command solver time (simulation type trans)
STIM,startInded,endIndex,indexStep;
Example:
STIM;
STIM,all;
STIM,index;
STIM,startInded,endIndex,indexStep;
Export solver omega (simulation type moda)
SOMG;
Export solver scale (simulation type moda)
SCAL;
Export solver sweep label (simulation type stat)
SWPL;
Export solver sweep value (simulation type stat)
SWPV;
Interface Export Commands⚓︎
For the interface export commands, the subsequent FileName parameter is optional. Additional settings can be configured in the i-ROM project file (*.iromproj) or the i-ROM model file (*.irommod, *.iromsket).
First, execute “Build Solids” and “Build ROM”. Then, the interface export commands can be added to the load case file (loads_*.irommod).
Export to ANSYS
EANS,FileName;
Export to COMSOL
ECOM,FileName;
Export to GDS2
EGDS,FileName;
Export to Matlab Simulink
ESIM,FileName;
Export to EDA (VHDL)
EEDA,FileName;