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

FloEFD batch command

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 3,297
Rep Power: 41
-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, 04:06
Default
  #2
Disabled
 
Join Date: Jul 2009
Posts: 616
Rep Power: 23
Boris_M will become famous soon enough
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, 06:42
Default
  #3
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-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, 07:06
Default
  #4
Disabled
 
Join Date: Jul 2009
Posts: 616
Rep Power: 23
Boris_M will become famous soon enough
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, 07:18
Default
  #5
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-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, 07:39
Default
  #6
Disabled
 
Join Date: Jul 2009
Posts: 616
Rep Power: 23
Boris_M will become famous soon enough
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, 07:51
Default
  #7
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-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, 08:12
Default
  #8
Disabled
 
Join Date: Jul 2009
Posts: 616
Rep Power: 23
Boris_M will become famous soon enough
V13 is already released since beginning of September.

Boris
Boris_M is offline   Reply With Quote

Old   October 29, 2013, 08:14
Default
  #9
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-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, 08:19
Default
  #10
Disabled
 
Join Date: Jul 2009
Posts: 616
Rep Power: 23
Boris_M will become famous soon enough
I understand :-)
Boris_M is offline   Reply With Quote

Reply


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 Off
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 11:37
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08: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 04: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 16:50.