Dear Elmer
Is there any facility in Elmer to calculate the flow rate of a tube or nozzle?
Regards, Hamed
Flow rate of a tube
-
- Site Admin
- Posts: 4832
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: Flow rate of a tube
Yes. You could use subroutine SaveScalars and there the Operator "convective flux" over given boundary.
-Peter
-Peter
Re: Flow rate of a tube
Hi Peter
Would you please give me the variables associated with convective flux? I mean
Regards, Hamed
Would you please give me the variables associated with convective flux? I mean
Code: Select all
Solver 4
Procedure = "SaveData" "SaveScalars"
Filename = flux.dat
Operator 1 = convective flux
Variable 1 = ?
Variable 2 = ?
Variable 3 = ?
End
Re: Flow rate of a tube
Dear Elmer
I'll be extremely grateful if one can answer my previous question (the variables associated with convective flux).
Regards, Hamed
I'll be extremely grateful if one can answer my previous question (the variables associated with convective flux).
Regards, Hamed
-
- Site Admin
- Posts: 4832
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: Flow rate of a tube
Hi Hamed
Generally you would give the full vector (which for N-S is by default confusingly "Flow Solution"). The routine takes the DIM first components and computes \int c v \cdot n dA. The coefficient could be "Density'" to give mass flux. Without the coefficient it would just be volume flux. You can also integrate over one component (Velocity 1, for example) if in you geometry you know how your outlet is oriented.
-Peter
Generally you would give the full vector (which for N-S is by default confusingly "Flow Solution"). The routine takes the DIM first components and computes \int c v \cdot n dA. The coefficient could be "Density'" to give mass flux. Without the coefficient it would just be volume flux. You can also integrate over one component (Velocity 1, for example) if in you geometry you know how your outlet is oriented.
Code: Select all
Solver 4
Procedure = "SaveData" "SaveScalars"
Filename = flux.dat
Operator 1 = convective flux
Variable 1 = Flow Solution
Coefficient 1 = Density
End