CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Turn off energy equation chtMultiRegionFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2023, 20:14
Default Turn off energy equation chtMultiRegionFOAM
Join Date: Apr 2014
Posts: 32
Rep Power: 11
razi.me05 is on a distinguished road

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?
razi.me05 is offline   Reply With Quote

Old   June 9, 2023, 02:31
Senior Member
Domenico Lahaye
Join Date: Dec 2013
Posts: 637
Blog Entries: 1
Rep Power: 16
dlahaye is on a distinguished road
Run (S/P)impleFoam?

Last edited by dlahaye; June 9, 2023 at 02:34. Reason: Removed rho
dlahaye is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding the energy equation(Internal energy equation) in the sonicFoam solver. applekiller OpenFOAM Programming & Development 4 May 16, 2023 09:52
The Energy equation in chtMultiRegionFoam ywem OpenFOAM Programming & Development 3 October 12, 2018 11:51
Energy equation for multi-component systems Andrea_85 OpenFOAM 2 September 24, 2018 21:19
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
SIMPLE and energy equation convergence Fabio Main CFD Forum 0 June 1, 2007 06:06

All times are GMT -4. The time now is 00:05.