solver twoLiquidMixingFoam: from transient to steady state
I have the following problem:
I have a domain (at the beginning filled with air), which is flooded with nitrogen. Hence the setup is as followed:
The flow speeds are low (Re < 900), so I assume laminar flow behaviour. Transient works so far (solver: twoLiquidMixingFoam). My question now: Is it possible to rewrite the solver, or even solver, from transient to steady-state? I couldn't find a thread for it. Probably you have to compile some stuff, etc. I'm currently working with OF 3.0.1 but will change within the next days to OF 5.0 Thank you very much - if you need more information, please ask me. Greetings Triggin |
Update
Hi everyone
Before ready everything: If you are very familiar with error message, please jump directly to the error message i've implemented at the end. Ok, i managed it to compile a new "myTwoLiquidMixingFoam"-solver (based on the common tutorials). More interesting are probably the changes i did: Solver UEqn & pEqn I switched UEqn.H and pEqn.H based on the SIMPLE-solver from the sources and therefore deleted the time derivative. myTwoLiquidMixingFoam.C Switched from pimpleControl pimple(mesh) to simpleControl simple(mesh); and deleted the while (runTime.run()) loop as well as the .correct() and .turbCorr() subs. createFields.H switched from pimple.dict() to simple.dict(). The compiling of the solver worked and i'm able to run the solver (what doesn't literally mean that i did everything correct). Well then, lets talk about the case: Case 0-Folder I dont think i made any mistake. It contains anyway only three files: "alpha.air", "p_rgh" and "U". constant-Folder Same here. I think there isn't any fault within the containing files. system-Folder Contains all the common files. Lets go through those: controlDict: Change the application and switched to the general settings for steady-state solvers. fvSchemes: Code:
ddtSchemes Code:
solvers At the moment i get the following error: Code:
smoothSolver: Solving for Ux, Initial residual = 0.474873, Final residual = 0.0471319, No Iterations 5 Ok, back to the error message: It states to me that there is an error withing the PCG-Solver which I actually don't even use. Next is the GAMGSolver mentioned...but this is from my point of view the standard solver. I also added the smoother, so...what could be the error? I hope this helps to get at least one reply :o Best wishes to everyone |
Hi Folks,
I also need the steadyState twoLiquidMixingFoam solver, has anyone made the solver? or does anyone know how to rewrite a transient solver to steady? I hope somebody reply thanks in advance |
All times are GMT -4. The time now is 17:21. |