coding a steady multiphase solver twophaseeulerfoam
I am using the twophaseeeulerfoam solver to simulate air bubbles in water.
I want to have a steady state version of the solver.
According to what I have read, I should first try to under-relax the resolution and raise the time step.
I do not understand why? In fact I do not understand the role of under-relaxtion factor in an unsteady solver.
Does anyone have a point on the subject or some documentation of the relaxation process in Openfoam (and in general, reading is never bad!)? This could help me to understand.
On the other hand if I want to change the solver to be steady witch library I was thinking to do so
- Remove time dependence in the solver
- Change the vel-press scheme (I was thinking using simple scheme)
- Modify the fvsol and fvscheme dict.
Does this seem correct?
Does this seem an affordable task for an OF newbee?
Thanks for your opinions and help.
I have tried the first solution but it seems that putting a subdict for relaxation at the end of fvSolution has no effect.
I am not sure if it is taken into account.
So I switched to the coding of a steady twophaseeluerfoam solver.
I am tryning to understand how the solver is coded.
I have a few questions and my sorry in advance if it seems to easy but my C++ is very bad.
1.fvVectorMatrix UbEqn(Ub, Ub.dimensions()*dimVol/dimTime)
Is it possible to modify the definition of fvVectorMatrix like that:
fvVectorMatrix UbEqn(Ub, Ub.dimensions())
What is the definition and the purpose of rUaA and UaEqn.A() ?
Is this related to the first guess on momentum equation in the PIMPLE algorithm?
What is the purpose of having a special file for the equation on UA and UB?
Can it be included in my SIMPLE loop -since I will move the scheme from pimple to simple.
Thanks for any help.
Just a suggestion: do not post the same message multiple times, or you won't receive any answer.
Sorry for that
That was not my intention.
I wanted to move the thread to the proper section and delete the older. But I did'nt manage to find how to delete a thread...
I don't know if it's possible to delete a thread without administrative rights. :-?
|All times are GMT -4. The time now is 07:12.|