CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Boundary conditions - rarefied gas flow in pipe (https://www.cfd-online.com/Forums/openfoam-solving/254322-boundary-conditions-rarefied-gas-flow-pipe.html)

Maxwell-Smoluchowski February 2, 2024 08:02

Boundary conditions - rarefied gas flow in pipe
 
I am trying to simulate the pressure-driven flow of rarefied gas through a circular pipe with the rhoCentralFoam solver (OF 2306). Of the data I have the type of the gas, values of pressure at the inlet and outlet of the pipe, value of mass flow rate through pipe, value of temperature at the wall and value of temperature at the inlet of pipe.

Somehow I cannot run the simulation and I think that I have a problem with boundary conditions and with mapping the data I have to OpenFoam BC. I checked wedge mesh with checkMesh and it says the mesh is OK. I've tried multiple options for boundary conditions. I am using maxwellSlipU BC for velocity at the wall and smoluchowskiJumpT for temperature at the wall. Temperature and velocity at the outlet are defined as zeroGradient. Temperature at the inlet is fixedValue. For the velocity and pressure I've tried different combinations (for inlet: pressure zeroGradient, velocity fixedValue; pressure totalPressure, velocity pressureInletVelocity; pressure zeroGradient, velocity flowRateInletVelocity)

My case is attached here https://we.tl/t-Ts69BLzwFJ


All times are GMT -4. The time now is 03:25.