CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FloEFD, FloWorks & FloTHERM (https://www.cfd-online.com/Forums/floefd-floworks-flotherm/)
-   -   FloEFD batch command (https://www.cfd-online.com/Forums/floefd-floworks-flotherm/125022-floefd-batch-command.html)

-mAx- October 17, 2013 08:26

FloEFD batch command
 
Hello,
In the Online Help (Version 12) there is a chapter for using the solver within a batch file.
<FloEFD install path>\bin\efdsolver.exe /m /config:”<path to xmlconfig>” /processors:<#processors>

It is ok , it is working: the solver takes the project and start from scratch to mesh and solve, etc...
But what about if I want to continue a project which is already meshed with some results? (Basically I want to set up my projects, check the mesh and the result after some iterations. Then I save the results, and want to iterate more during the night with the batch)

In the version 11, there were some optional arguments like /m (meshed) /s (solve) /continue (continue), which seem to have been disappeared in the release 12
Any clue?
:rolleyes:

Boris_M October 29, 2013 04:06

Hi Maxime,

You can find the detailed way of the script in the help and it should work like that:

<FloEFD install path>\bin\efdsolver.exe [/m] [/s] [/continue] [/processors:#] /config:”<path to xmlconfig>

Maybe the scripting has changed slightly with one of the service packs. Please use this as an example for continuing the solver:

C:\Program Files\MentorGraphics\FloEFD FEV13\bin\efdsolver.exe /s /continue /processors:8 /config:”D:\Temp\MM.DD.YY_HH.MM.SS\example\1\1.xmlc onfig”

I hope this helped,
Boris

-mAx- October 29, 2013 06:42

Hello Boris,
Thanks for your answer.
It is running now ;)
But it runs from previous solution, only if the previous files are in the batch export folder.
Now I know :D
Thank you

EDIT: Is there also apossibily to run a parameter study within a batch?

Boris_M October 29, 2013 07:06

Not directly with one line. With a little programming you can script it to run project after project.

Boris

-mAx- October 29, 2013 07:18

But how does solver know, that I change a parameter between 2 projects? (for instance a piston's position). Basically I need to give the parameters (located in the *.fwps file) to the solver.
Or do I have to digg in the *.xml file?

Boris_M October 29, 2013 07:39

You can either script the changes completely, there is an API with examples you can install.
Or if you use V13 you can right click the parametric study projects and create them into the FloEFD tree so each parametric study variant has its own entry in the tree and therefore own folder and then you can script to run project after project.

Boris

-mAx- October 29, 2013 07:51

ok I will then wait for V13
Thank you again

Boris_M October 29, 2013 08:12

V13 is already released since beginning of September.

Boris

-mAx- October 29, 2013 08:14

Yes I know, I wanted to say I will wait V13's installation from our IT-staff

Boris_M October 29, 2013 08:19

I understand :-)


All times are GMT -4. The time now is 00:17.