|
[Sponsors] |
ideal gas law in 2D closed box with volumetric energy source |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 21, 2021, 11:50 |
ideal gas law in 2D closed box with volumetric energy source
|
#1 |
New Member
Join Date: Apr 2021
Posts: 2
Rep Power: 0 |
Hello everyone,
I am pretty new to StarCCM+. For my project, I have set up a reference case, where I transiently simulate an ideal gas in a 2D closed box with constant volumetric energy source option. My setup is: coupled flow and energy, gas, gradients, ideal gas, implicit unsteady, laminar, two dimensional. As I would expect from ideal gas law and conservation of mass, the pressure inside the box should proportionally increase with temperature. However, the pressure is not changing. I only see an increase in temperature and a decrease in density. The latter violates conservation of mass in my opinion. I also tried a few other setups: 1: constant density to force density to be constant. Here, the temperature increases, but the pressure doesn't change. It seems like pressure is not calculated at all. When I calculate p=rho*Runi/M*T with surface averaged values for rho and T, p increases linearly as expected. 2: seggregated solver: no changes. 3: reference pressure set to 0 Pa and initial pressure to 1 atm: no changes. The fluid is not moving at all (only in orders of E-16 m/s), as I would expect, since I have not included boyancy. Does anyone know, where the problem lies and how to setup the model properly? Best regards and thank you in advance, Felix |
|
Tags |
2d flow, coupled solver, ideal gas law, pressure and density |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
Domain Reference Pressure and mass flow inlet boundary | AdidaKK | CFX | 75 | August 20, 2018 06:37 |
[Other] How to use finite area method in official OpenFOAM 2.2.0? | Detian Liu | OpenFOAM Meshing & Mesh Conversion | 4 | November 3, 2015 04:04 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |