CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Turn off energy equation chtMultiRegionFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2023, 21:14
Default Turn off energy equation chtMultiRegionFOAM
  #1
Member
 
Nevada
Join Date: Apr 2014
Posts: 32
Rep Power: 12
razi.me05 is on a distinguished road
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?
razi.me05 is offline   Reply With Quote

Old   June 9, 2023, 03:31
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 798
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
Run (S/P)impleFoam?

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

Reply


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 10:52
The Energy equation in chtMultiRegionFoam ywem OpenFOAM Programming & Development 3 October 12, 2018 12:51
Energy equation for multi-component systems Andrea_85 OpenFOAM 2 September 24, 2018 22:19
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
SIMPLE and energy equation convergence Fabio Main CFD Forum 0 June 1, 2007 07:06


All times are GMT -4. The time now is 09:55.