|
[Sponsors] |
November 18, 2002, 05:28 |
CFX-Build journal files
|
#1 |
Guest
Posts: n/a
|
Dear CFX users,
I have two questions about CFX-Build-s journal files: Is it possible: 1.to define a variable in CFX-Build journal file. Something like (in perl): ... $MyVar=100; cfx5_set_fluiddep_bc_prop( "MyInlet", "Air Ideal Gas", "Turbulence", @ "Intensity and Length Scale", [["Turbulent Intensity", "VALUE", "0.03", @ ""]["Eddy Length Scale", "VALUE", $My_Var , "mm"]], cfx5_create_fb_new_istat) ... 2.Loading journal files from another one e.g. … «load first.jou journal file» cfx5_set_fluiddep_bc_prop( "MyInlet", "Air Ideal Gas", "Turbulence", @ "Intensity and Length Scale", [["Turbulent Intensity", "VALUE", "0.03", @ ""]["Eddy Length Scale", "VALUE", "100", "mm"]], cfx5_create_fb_new_istat) «load second.jou journal file» … Thanks in advice. Regards, |
|
November 18, 2002, 07:57 |
Re: CFX-Build journal files
|
#2 |
Guest
Posts: n/a
|
Yes, but in patran! And it is fairly straightforward. Check on Patran web site (the "little house" icon) or ask your support. Alternatively this is taught during CFX training. So check the notes about Build or ask your CFX support.
The interest in this is that you can write you perl to set the value in the session file, eg. REAL x = value 'value' being used later on as a real. To loop automatically on various scenarii, or carry out an optimization loop using Post outputs. |
|
November 18, 2002, 08:03 |
Re: CFX-Build journal files
|
#3 |
Guest
Posts: n/a
|
Thanks Holidays,
Yas it is possible with PCL. I find one post from August about this subject where Robin explain the same thing. Thanks, KG |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 11:46 |
Converting ANSYS CFX files to Fluent files | Martin S. Rasmussen | FLUENT | 3 | January 30, 2007 16:08 |
help needed about phase change | Yanhu Guo | Main CFD Forum | 4 | January 24, 2001 00:16 |