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

InterFOAM+Temperature Equation + alpha update

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2022, 21:49
Default InterFOAM+Temperature Equation + alpha update
  #1
Member
 
Anonymous.
Join Date: Sep 2020
Posts: 35
Rep Power: 5
gentodin is on a distinguished road
Hi all, I am trying to implement my temperature equation to OpenFOAM.

I have an additional mass update that changes the cells at every timestep from gas to solid phase hence a change in density.

After implementing what I think is correct, the temperature reading in the gas phase goes higher and higher until the simulation cannot solve anymore due to floating-point error, (is this what u call diverge?).

Nevertheless, I would like to check with you guys if you happen to know what are things to look out for when implementing such a complex system?
gentodin is offline   Reply With Quote

Old   February 16, 2022, 20:45
Default Help
  #2
Member
 
Anonymous.
Join Date: Sep 2020
Posts: 35
Rep Power: 5
gentodin is on a distinguished road
Hi Anybody knows what are the issues?

For example,
I am updating
forAll(alpha1,celli)
{

if(some condition)
{
alpha1[celli] = 1.0;
T[celli] = 1900;

}
}


What are the things I need to lookout for when I update the Volume fraction alpha1?
gentodin 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
How can temperature e treated as a passive scalar be used in transport equation? granzer OpenFOAM Running, Solving & CFD 3 June 6, 2021 16:35
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 07:15
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion faizan_habib7 CFX 4 February 1, 2016 17:00
SimpleFoam and Temperature Equation Pat84 OpenFOAM Running, Solving & CFD 5 June 16, 2014 00:43
about bounded alpha equation for bubbleFoam and twoPhaseEulerFoam kaifu OpenFOAM 2 May 6, 2011 05:33


All times are GMT -4. The time now is 02:33.