Initialize the field using another simpler turbolence model
hi foamers,
My friend told me that in Fluent there is an option to initialize the flow properties then run the desired the simulation. I searched for such an option on openfoam but i found nothing. So i was thinking if i use a 1ep.-model like spalart-allmaras to initialize the flow then i swith to my desired RAS model, Does this improve my solution? and more importantly does the solution converge faster? |
Resolved.
First before running any simulation use: Code:
refineMesh Then if you use kEpsilon, it's better to run potentialFoam to initialize the U & p fields, you need to add this in the fvsolution file Code:
potentialFlow Code:
potentialFoam That's all i learned. If some one has more advice i'll gladly hear him. |
Quote:
|
Quote:
|
Aditionally to the speedup, I also had a case that diverged with a simple constant initialization but not with the potentialFoam init.
|
Quote:
|
Dear Arathon,
I also try to initialize my flow field using potentialflow before running my multiphase calculation according to your above explanation, but i couldnt succeed. in multiphase pressure dimension is kgm/s^2 however in potetialflow it is m^2/s^2. i set my cases as follows and but giving following error (is it error or not no idea). also how can i initialize the value of k and epsilon?? could you help to me pls...thanks ==>0/U Code:
dimensions [0 1 -1 0 0]; dimensions [0 2 -2 0 0 0 0]; Code:
internalField uniform 0; Code:
ddtSchemes Code:
solvers DICPCG: Solving for p, Initial residual = 1, Final residual = 8.80882e-07, No Iterations 180 DICPCG: Solving for p, Initial residual = 0.168621, Final residual = 9.37342e-07, No Iterations 131 DICPCG: Solving for p, Initial residual = 0.00789625, Final residual = 9.67837e-07, No Iterations 115 DICPCG: Solving for p, Initial residual = 0.000384399, Final residual = 8.94174e-07, No Iterations 101 DICPCG: Solving for p, Initial residual = 2.60676e-05, Final residual = 8.91063e-07, No Iterations 3 DICPCG: Solving for p, Initial residual = 1.92316e-06, Final residual = 5.88908e-07, No Iterations 1 DICPCG: Solving for p, Initial residual = 7.12976e-07, Final residual = 7.12976e-07, No Iterations 0 DICPCG: Solving for p, Initial residual = 7.12976e-07, Final residual = 7.12976e-07, No Iterations 0 DICPCG: Solving for p, Initial residual = 7.12976e-07, Final residual = 7.12976e-07, No Iterations 0 DICPCG: Solving for p, Initial residual = 7.12976e-07, Final residual = 7.12976e-07, No Iterations 0 DICPCG: Solving for p, Initial residual = 7.12976e-07, Final residual = 7.12976e-07, No Iterations 0 continuity error = 0.0244929 Interpolated U error = 0.000203337 ExecutionTime = 6.04 s ClockTime = 6 s |
All times are GMT -4. The time now is 09:43. |