CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Implementing a new rotational velocity in OpenFOAM (https://www.cfd-online.com/Forums/openfoam-programming-development/136309-implementing-new-rotational-velocity-openfoam.html)

30na May 26, 2014 11:54

Implementing a new rotational velocity in OpenFOAM
 
Hi everybody ,
I am quite new to OpenFOAM and now i am trying to simulate a rotating device . I have used MRFInterFoam solver so far for constant angular velocity but now i want the velocity to be a function of time .
I did a tutorial on how to implement a new boundary condition (inlet velocity) , but now i want to be able to access MRFInterFoam files and change the angular velocity .
Can anyone help me with this ? a step by step tutorial would be greatly appreciated ,

ahmmedshakil May 27, 2014 01:45

Have you tried with groovyBC (http://openfoamwiki.net/index.php/Contrib/groovyBC) ? It might be so easy without coding.

pbachant June 2, 2014 04:03

You may be able to avoid programming by giving a table for omega as a function of time in the MRFProperties dict.

30na June 3, 2014 00:41

Thanks everybody for your answers , I used polynomial type for my simulation and my problem is solved now


All times are GMT -4. The time now is 20:00.