CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Turn off energy equation chtMultiRegionFOAM (https://www.cfd-online.com/Forums/openfoam-solving/250313-turn-off-energy-equation-chtmultiregionfoam.html)

razi.me05 June 8, 2023 20:14

Turn off energy equation chtMultiRegionFOAM
 
Hi,

I'm modeling the cooling channel. As the CHT problem is nonlinear and my geometry is extremely complex, I get the negative initial temperature for any minor issues. To resolve this issue I initialize the steady state flow first without solving the energy equation. Then later run the coupled solver (fluid/heat).

This approach worked in Comsol, Fluent. In OpenFOAM, if I comment out the energy equation in the solver's code, this also works. But this is not the proper way to implement it because I'll always have to compile the solver after initializing the fluid flow.

Now I tried setting maxIter for e and h to 0 but unfortunately, it does not work. It still gives me negative initial temperature error.

I have also set fvOptions to limit temp it still does not work. This is really confusing why would it solve the energy equation if I specify 0 iterations?

So, my question is how do I turn off the energy equation and solve only SS turbulent flow as an initialization step?

dlahaye June 9, 2023 02:31

Run (S/P)impleFoam?


All times are GMT -4. The time now is 16:32.