Table of boundary conditions
hello I'm new in CFX
In my project it is needed to change velocity on inlet from 1 m/s to 10 m/s in 1 m/s step.
All other boundary conditions and settings stay unchanged.
So my question is if it possible to create table of boundary conditions that after finished calculations on 1 m/s program will automatically import new B.C from table and start calculations?:confused:
which version are you using? itīs quite easy but depending on the version. create a batch run with a loop over the desired velocities via editing the def.file before each run OR create a def.-file for each velocity an loop them. OR create a setup with starting conditions in WB2.0. and change the velocity in every setup.
I'm using CFX 12
Your second solution will be very good for me
Can You write me how can I loop ?
Letīs suppose you have a directory with the desired def.-files.
def1ms def2ms,.. it would be smth. like
cfx5solve -def $defname
print "calculating $defname \n"
ending up in solving every def-file WITHOUT using the last result.
or you do it by executing
cfx5solve -def def1ms.def
cfx5solve -def def2ms.def -ini def1ms_001.res
cfx5solve -def def3ms.def -ini def2ms_001.res
Save the code in a file with the ending *.pl, copy it to the directory containing the def.-files, open the command line (from within CFX-Launcher) after changing the current working directory and then do a cfx5perl *.pl
hope that helps,
P.S.: if you have to check for some errors, let me know.
|All times are GMT -4. The time now is 13:56.|