CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Other] Parametric study in openfoam (https://www.cfd-online.com/Forums/openfoam-meshing/245260-parametric-study-openfoam.html)

April1004 September 23, 2022 14:09

Parametric study in openfoam
 
Hi,


I want to do a simulation to investigate the impact of the gap-width between foresail (jib) and mainsail of a sailing boat.

The simulations shall have those three parameters:
- Wind angle of attack
- Angle of the foresail
- Angle of the mainsail

I know, that I can adjust the wind angle by changing the OpenFOAM-files for the initial conditions. Creating a script for this is not a problem.

But for the foresail and mainsail angle, I think I have to create a specific model and mesh for each combination of parameters.
I tried to do this with BlockMesh, but I stopped doing this, because "inner walls" are not allowed in BlockMesh, which makes this very complicated and time-consuming.

I think what I am trying to do is called "parametric study". Is this correct?

Do you have suggestions on how to do this? I am also willing to read other literature, that you suggest.


I have an informatics degree, so doing some python- or UNIX scripting shouldn't be a problem.


Thank you very much in advance

linnemann September 24, 2022 01:52

There are many tutorials on how to do this.


https://github.com/nelinnemann/of-ca...latypus-2D-car


https://holzmann-cfd.com/community/t...tric-variation


Beware, this will take time and effort and only you can implement it.


All times are GMT -4. The time now is 21:49.