|
[Sponsors] |
Closed Volume HeatSource - error in mass balance |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 15, 2020, 07:40 |
Closed Volume HeatSource - error in mass balance
|
#1 |
Senior Member
Join Date: Jan 2014
Posts: 179
Rep Power: 12 |
Hi guys,
I am working the last days on the following problem: During a compressible simulation (rhoPimpleFoam) I am introducing a heat source via fvOptions during runtime over a cellSet using perfectGas as equation of state. As a testcase, my domain is surrounded by walls, so the density should be constant and result in a pressure rise. The problem is that the density changes, also in my closed system. This does not make sense. How can i overcome this issue? What is wrong with my setup? fvOptions: Code:
heatSource { type scalarSemiImplicitSource; active on; timeStart 0.01; duration 1e-04; selectionMode cellSet; cellSet heatSourceCellSet; volumeMode absolute; injectionRateSuSp { e (17000000000 0); } } Code:
internalField uniform 101325; boundaryField { "(.*_wall)" { type zeroGradient; } "(.*_empty)" { type empty; } } Code:
internalField uniform 298; boundaryField { "(.*_wall)" { type zeroGradient; } "(.*_empty)" { type empty; } } Code:
"(.*_wall)" { type fixedValue; value uniform (0 0 0); } "(.*_empty)" { type empty; } So what ist the problem here? In the attachement you can see p,T and rho at t=0.01s, when the source term is activated. The density is decreasing over the cellSet area. |
|
July 17, 2020, 07:25 |
|
#2 |
Senior Member
Join Date: Jan 2014
Posts: 179
Rep Power: 12 |
No one has an idea?
|
|
July 17, 2020, 11:21 |
|
#3 |
Member
Ran
Join Date: Aug 2016
Posts: 69
Rep Power: 10 |
How about using incompressible solver?
__________________
Yours in CFD, Ran |
|
July 20, 2020, 08:19 |
|
#4 |
Senior Member
Join Date: Jan 2014
Posts: 179
Rep Power: 12 |
Since there are compressible effects present, incompressible treatment is not suitable...
|
|
July 27, 2020, 10:23 |
|
#5 |
Senior Member
Join Date: Jan 2014
Posts: 179
Rep Power: 12 |
Still need help on this...
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
Mass fraction and volume fraction | eric weddle | CFX | 0 | September 26, 2011 06:02 |
Difference between Volume Fraction and Mass Fraction in CEL | foo7 | CFX | 0 | September 21, 2011 09:45 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |