hystrath / hyStrath

Hypersonic / Rarefied gas dynamics code developments (GPL-3.0)
https://hystrath.github.io/
GNU General Public License v3.0
219 stars 109 forks source link

Mass Flow Rate Calculation for 2D Axisymmetric Simulations #110

Open hamidmoezzi1988 opened 1 year ago

hamidmoezzi1988 commented 1 year ago

Hi everybody.

I intend to calculate the mass flow rate in my 2D axisymmetric simulation using the dsmcMassFluxSurface feature of dsmcFoam+. I defined a face in zonesDict and the corresponding parameters in fieldPropertiesDict and got values of flow rate vs. time after the simulation ends, however, I have two questions.

  1. Is there any way I can visualize the faces I define in zonesDict after applying the createFaceZones? I want to see the cross section at which the mass flow rate is going to be calculated.
  2. The cross section of the 5 degrees wedge (Geo for 2D axisymmetric simulations) is a triangle, so the mass flow rate we receive at the end of the simulation is probably for a triangle cross section, however, the actual cross section is a circle. So, if I am correct, then what is the best way to obtain the mass flow rate for an axisymmetric simulation with an actual circular cross-section?

I would really appreciate any comments on my questions. Thank you for your time and support.

Kind regards, Hamid