CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   rotating gravity (https://www.cfd-online.com/Forums/openfoam-solving/76846-rotating-gravity.html)

olhe0002 June 7, 2010 04:11

rotating gravity
 
Hello World.

Is it possible to read the gravity-File g time dependent vom a data-File?
(similar to timeVaryingUniformFixedValue)

This could be an easy way to simulate a rotation.

Best Regards.

romant June 7, 2010 07:40

should not pose a problem
 
This should not pose a problem. One thing though is that you will have to modify a solver and add a gravity file to your time folders. This can then be read like any other field from the the runtime.

I would suggest that you take a look on how to implement new fields to an existing solver.


All times are GMT -4. The time now is 22:12.