-
Notifications
You must be signed in to change notification settings - Fork 41
Workflow_OpenFOAM
Solver Control Task Panel should have such a choice.
Solver Object should a property to store this choice from user.
By this way, a simple case setup can be generated by the software without any user intervention, while advanced boundary condition/solver control is not applicable. User may need edit the case control dict to run realistic engineering problem.
The fluid boundary condition setup mimic Ansys Fluent GUI; it may help new learner to setup simulation case in OpenFOAM.
All boundary condition will be stripped, only solver control dict in system will be kept. Mesh will be generated by Cfd module, boundary condition setup can be done interactively in GUI.
This route fit for engineering design with several design iterations. In each design iteration, geometry may change (so the boundary condition attaching faces change), but boundary condition setup like value should remain. In GUI, only update mesh and boundary condition and keep other solver control dict untouched.
Furthermore, it is recommended to use scripting workflow for parameter study, see also example of using python to build engineering design pipeline https://github.com/qingfengxia/CAE_pipeline
Gui for new learner, may be not suitable to deal with complex engineering problems
Special foam setting can be specified in GUI
On SolverControl TaskPanel, selection edit case, the case folder is opened, user can double check all kinds of solver setting. before run the computation.
On SolverControl TaskPanel, selection update mesh , instead of write case in Solver Control Task Panel
gmsh output geo file can be edited by user to add more advance control, which is currently unavailable in FreeCAD GUI or Gmsh GUI.
Import back to Cfd module, and carry on boundary setting up.
<CfdScriptExample.py> (not yet complete)
This is the preferred way to deal with realistic engineering design