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

ChtMultiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Tobi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2016, 10: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, 06:32
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
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, 10: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


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


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