|
[Sponsors] | |||||
|
|
|
#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?
|
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,716
Blog Entries: 6
Rep Power: 53 ![]() ![]() ![]() |
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 |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Joseph Cor
Join Date: Jun 2016
Posts: 2
Rep Power: 0 ![]() |
Thanks for the help.
|
|
|
|
|
|
![]() |
| Tags |
| chtmulitregionfoam, density model |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |