Hello,
I am going to run lots of analysis so i need to write a script which gets datas like maximum, minimum and average pressures and velocities for several planes automatically after the solution done. I searched it but didn't find anything. Can you help me, please?
Writing a Script to Get Datas from Fluent
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: Writing a Script to Get Datas from Fluent
Your question is more pertinent to OpenFOAM than it is to CfdOF. I would ask this in www.reddit.com/r/openfoam or https://www.cfd-online.com/Forums/openfoam/.
Tips:
- write your script in Python.
- it is much easier to do this sort of work in xonsh rather than bash.
- share whatever you write so that others can learn from your experience. If you write something nice/useful, maybe we would incorporate it into CfdOF.
- FYI, we will soon be incorporating "Add filename to output path" to CfdOF. This will make organizing the results from a large number of simulations much easier, assuming you change the filename for each simulation variation.
- If you are indeed wanting simulation results (pressure, flow, etc.) along various planes, that can be done in Paraview and Paraview is scriptable with Python.
Tips:
- write your script in Python.
- it is much easier to do this sort of work in xonsh rather than bash.
- share whatever you write so that others can learn from your experience. If you write something nice/useful, maybe we would incorporate it into CfdOF.
- FYI, we will soon be incorporating "Add filename to output path" to CfdOF. This will make organizing the results from a large number of simulations much easier, assuming you change the filename for each simulation variation.
- If you are indeed wanting simulation results (pressure, flow, etc.) along various planes, that can be done in Paraview and Paraview is scriptable with Python.