CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FloEFD, FloWorks & FloTHERM

FloEFD batch command

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 17, 2013, 08:26
Default FloEFD batch command
  #1
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,992
Rep Power: 30
-mAx- will become famous soon enough
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?
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 29, 2013, 05:06
Default
  #2
Senior Member
 
Boris Marovic
Join Date: Jul 2009
Posts: 382
Rep Power: 12
Boris_M is on a distinguished road
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
Boris_M is offline   Reply With Quote

Old   October 29, 2013, 07:42
Default
  #3
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,992
Rep Power: 30
-mAx- will become famous soon enough
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
Thank you

EDIT: Is there also apossibily to run a parameter study within a batch?
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 29, 2013, 08:06
Default
  #4
Senior Member
 
Boris Marovic
Join Date: Jul 2009
Posts: 382
Rep Power: 12
Boris_M is on a distinguished road
Not directly with one line. With a little programming you can script it to run project after project.

Boris
Boris_M is offline   Reply With Quote

Old   October 29, 2013, 08:18
Default
  #5
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,992
Rep Power: 30
-mAx- will become famous soon enough
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?
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 29, 2013, 08:39
Default
  #6
Senior Member
 
Boris Marovic
Join Date: Jul 2009
Posts: 382
Rep Power: 12
Boris_M is on a distinguished road
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
Boris_M is offline   Reply With Quote

Old   October 29, 2013, 08:51
Default
  #7
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,992
Rep Power: 30
-mAx- will become famous soon enough
ok I will then wait for V13
Thank you again
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 29, 2013, 09:12
Default
  #8
Senior Member
 
Boris Marovic
Join Date: Jul 2009
Posts: 382
Rep Power: 12
Boris_M is on a distinguished road
V13 is already released since beginning of September.

Boris
Boris_M is offline   Reply With Quote

Old   October 29, 2013, 09:14
Default
  #9
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,992
Rep Power: 30
-mAx- will become famous soon enough
Yes I know, I wanted to say I will wait V13's installation from our IT-staff
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 29, 2013, 09:19
Default
  #10
Senior Member
 
Boris Marovic
Join Date: Jul 2009
Posts: 382
Rep Power: 12
Boris_M is on a distinguished road
I understand :-)
Boris_M is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
8x icoFoam speed up with Cufflink CUDA solver library kmooney OpenFOAM Running, Solving & CFD 42 November 6, 2012 12:37
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 09:48
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 05:41
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26


All times are GMT -4. The time now is 07:32.