CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

ideal gas law in 2D closed box with volumetric energy source

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 21, 2021, 11:50
Question ideal gas law in 2D closed box with volumetric energy source
  #1
New Member
 
Join Date: Apr 2021
Posts: 2
Rep Power: 0
Felixx is on a distinguished road
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
Felixx is offline   Reply With Quote

Reply

Tags
2d flow, coupled solver, ideal gas law, pressure and density


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
[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


All times are GMT -4. The time now is 17:44.