|
[Sponsors] |
June 23, 2016, 10:40 |
ChtMultiRegionFoam
|
#1 |
New Member
Joseph Cor
Join Date: Jun 2016
Posts: 2
Rep Power: 0 |
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?
|
|
June 24, 2016, 06:32 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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) ); Code:
linearInterpolate(rhoFluid[i]*UFluid[i]) & fluidRegions[i].Sf()
__________________
Keep foaming, Tobias Holzmann |
|
June 24, 2016, 10:52 |
|
#3 |
New Member
Joseph Cor
Join Date: Jun 2016
Posts: 2
Rep Power: 0 |
Thanks for the help.
|
|
Tags |
chtmulitregionfoam, density model |
|
|
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 |