rotating source term using fvOptions
Hello
In my simulation, I need to add a rotating source term to momentum equations without modifying the code of the solver. Is it possible to use a rotating source term in fvOptions (has a distance R from the origin rotates about the origin (0,0,0) as a function of time and with given angular velocity)? Please, can you give me an example? PS: Without using MRF or Dynamic mesh. |
Hi!
I am trying to do this also, but still not successful. Even though, SRFSimpleFoam is not an option for you? Okubo |
Tried some variations of the code below (in .../constant/fvOptions), but it is still not working well...
As far as I understand, this implements a explicit source...maybe, it should be implicit to work (like SRFSimpleFoam)? Hope somebody can help... Code:
/*--------------------------------*- C++ -*----------------------------------*\ |
Did you get any progress with your code. I am struggling with the same issue. Code is working but the solution blows up very quick because of the large numbers produced by the additional source term.
Quote:
|
All times are GMT -4. The time now is 11:40. |