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

ChtMultiRegionFoam

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

Like Tree1Likes
  • 1 Post By Tobi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2016, 09:40
Default ChtMultiRegionFoam
  #1
New Member
 
Joseph Cor
Join Date: Jun 2016
Posts: 2
Rep Power: 0
Joe Cor is on a distinguished road
I would like to make a new version of chtMultiRegionFoam that is fully compressible -- that is, caculates density as a function of temperature and pressure. Is there anyone who has done this or who could explain how it could be done?
Joe Cor is offline   Reply With Quote

Old   June 24, 2016, 05:32
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi Joe,

chtMulti is already for compressible fluids.
Code:
    tmp<fvVectorMatrix> UEqn
    (
        fvm::ddt(rho, U)
      + fvm::div(phi, U)
      + turb.divDevRhoReff(U)
       ==
        fvOptions(rho, U)
    );
As you see, the density is already included and based on the thermodynamic model you are using, the density is evaluated. For an ideal gas, the density would be calculated based on T and p. The flux fields are also build with the density:

Code:
                linearInterpolate(rhoFluid[i]*UFluid[i])
                    & fluidRegions[i].Sf()
The only thing is that the pressure equation is not build for high-speed flow. Here you may have to change the pressure coupling and flux corrections. But there I do not know how to do it.
ashish.vinayak likes this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   June 24, 2016, 09:52
Default
  #3
New Member
 
Joseph Cor
Join Date: Jun 2016
Posts: 2
Rep Power: 0
Joe Cor is on a distinguished road
Thanks for the help.
Joe Cor is offline   Reply With Quote

Reply

Tags
chtmulitregionfoam, density model

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
Error in thermophysical properties (chtMultiRegionFoam) mukut OpenFOAM Pre-Processing 28 November 23, 2021 06:34
Error in chtMultiRegionFoam michael157 OpenFOAM Running, Solving & CFD 17 May 22, 2017 03:32
Simulation of a sample in a furnace w/ chtMultiRegionFoam sergimart7 OpenFOAM Running, Solving & CFD 7 August 12, 2015 06:48
Custom boundary condition: unexpected behavior with chtMultiRegionFoam leroyv OpenFOAM Programming & Development 3 February 1, 2014 07:49
chtmultiregionFoam alvora OpenFOAM 9 February 23, 2011 03:06


All times are GMT -4. The time now is 03:14.