CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Mass flow inlet profile 3d to 2d

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 1 Post By FMDenaro
  • 5 Post By flotus1
  • 1 Post By flotus1
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2017, 19:22
Default Mass flow inlet profile 3d to 2d
  #1
New Member
 
Bharatvaaj
Join Date: Feb 2017
Posts: 23
Rep Power: 9
Vaaj is on a distinguished road
I have reduced a 3D domain into a 2D (planar) domain. The inlet for 3D is a face(surface) at the circular pipe inlet. For the 2D it is an edge.

Is my mass flow inlet same in these cases? or only the mass flux remains the same?

How do I convert mass flow rate inlet initialization between 3D and 2D planar domains?
Vaaj is offline   Reply With Quote

Old   May 6, 2017, 03:42
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Vaaj View Post
I have reduced a 3D domain into a 2D (planar) domain. The inlet for 3D is a face(surface) at the circular pipe inlet. For the 2D it is an edge.

Is my mass flow inlet same in these cases? or only the mass flux remains the same?

How do I convert mass flow rate inlet initialization between 3D and 2D planar domains?
physically the flow rate (rho*u_av*A) is never the same... in 2D you have a virtual area given by the line lenght of the inlet x 1 (unit lenght) but in the pipe the cross area is a circle.
Vaaj likes this.
FMDenaro is offline   Reply With Quote

Old   May 6, 2017, 05:47
Default
  #3
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I guess this is a Fluent question...

First of all, 2D planar is the wrong approach for an originally axisymmetric geometry. If you use 2D axisymmetric, you can use the same value for the mass flow rate at the inlet as in the 3D case.

A mass flow rate in a 2D planar case can be calculated like this

\dot{m}_\text{2D planar} =  \dot{m}_\text{3D} \frac{H \cdot L_\text{ref}}{A_\text{3D}}

where H is the height of the inlet in the 2D planar case, L_\text{ref} is Fluents reference width for 2D planar cases (1m by default) and A_\text{3D} is the surface area of the mass flow inlet in 3D. This should yield the same average flow velocity if 2D planar is a valid simplification for your physical setup.
Vaaj, souza.emer, caio.df and 2 others like this.
flotus1 is offline   Reply With Quote

Old   May 6, 2017, 05:58
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I agree... but this way you change the physics of the problem...the Re number will be different, insn't it?
FMDenaro is offline   Reply With Quote

Old   May 6, 2017, 06:24
Default
  #5
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
For cases where the 2D planar approach is valid, the Reynolds number should be the same in 2D and in 3D with this approach.

Imagine the inlet in 3D is a rectangular plane with dimensions 0.1m x 0.1m and the mass flow rate is 1kg/s with a density of 1kg/mģ. This yields an average flow velocity of 100m/s.
Switching to 2D planar: the mass flow rate according to my formula is 10kg/s. If I am not mistaken, this should yield the same average flow velocity in Fluent and thus the same Reynolds number.
flotus1 is offline   Reply With Quote

Old   May 6, 2017, 06:47
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by flotus1 View Post
For cases where the 2D planar approach is valid, the Reynolds number should be the same in 2D and in 3D with this approach.

Imagine the inlet in 3D is a rectangular plane with dimensions 0.1m x 0.1m and the mass flow rate is 1kg/s with a density of 1kg/mģ. This yields an average flow velocity of 100m/s.
Switching to 2D planar: the mass flow rate according to my formula is 10kg/s. If I am not mistaken, this should yield the same average flow velocity in Fluent and thus the same Reynolds number.

Consider the Re= u_av*H/ni, (u_av*H) being the volumetric flow rate. Clearly, the Re number is the same in 2D and 3D provided that u_av*H is the same.
FMDenaro is offline   Reply With Quote

Old   May 6, 2017, 06:50
Default
  #7
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
So we agree since H has the same value in 2D and in 3D and my formula keeps u_av constant?
flotus1 is offline   Reply With Quote

Old   May 6, 2017, 07:04
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by flotus1 View Post
I guess this is a Fluent question...

First of all, 2D planar is the wrong approach for an originally axisymmetric geometry. If you use 2D axisymmetric, you can use the same value for the mass flow rate at the inlet as in the 3D case.

A mass flow rate in a 2D planar case can be calculated like this

\dot{m}_\text{2D planar} =  \dot{m}_\text{3D} \frac{H \cdot L_\text{ref}}{A_\text{3D}}

where H is the height of the inlet in the 2D planar case, L_\text{ref} is Fluents reference width for 2D planar cases (1m by default) and A_\text{3D} is the surface area of the mass flow inlet in 3D. This should yield the same average flow velocity if 2D planar is a valid simplification for your physical setup.

Yes, the same H and same averaged velocity give the same Re number.

The doubt was about the formula you wrote, consider the same in terms o the volumetric flow rate:

(u_av*H*1)2d_planar = (u_av*H*h)3d *(H*Lref/A3d)

right?
FMDenaro is offline   Reply With Quote

Old   May 6, 2017, 10:30
Default
  #9
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I think you need to replace *1 on the left side of your formula with *L_ref and thatīs it. Otherwise the units donīt match.

Anyway, I quickly checked the implementation in Fluent. My initial assumption was correct and so is the formula in my first post here.
The only caveat: when post-processing the volume flow rate at a mass flow inlet, fluent uses the depth from the reference values tab to calculate it. The flow velocity is indifferent to these settings. I donīt know if you can even change the value of L_ref to any other value than 1m.
Vaaj likes this.
flotus1 is offline   Reply With Quote

Old   May 6, 2017, 11:45
Default
  #10
New Member
 
Bharatvaaj
Join Date: Feb 2017
Posts: 23
Rep Power: 9
Vaaj is on a distinguished road
Thanks a lot for giving so much of thoughts on this problem,

I did use the mass flow for 2d before, by taking the the inlet width * 1m reference as suggested by you.

The flow is a compressible flow and I have the pressure, mass and temperature (or density changes) variation with respect to each time step and I want this varying property to be initialized at the inlet through out the run time.

The original simulation is to capture how the air flows from a 0.6 L container at 21 bar(a),300K to 20L spherical container. Since, I am not able to close the valve at the end of 45 milli seconds and the simulation has to run for 60 ms and the feeding phase is shorter, I modeled the inputs of air and got the time varying functions assuming isentropic expansion.

I am not able to reach the desired end point where the air at the end of 60 ms is at 1 atm and 300 K inside the 20L sphere.

It is a compressible, transient flow. Later I will be adding particles to it.

Questions:

1) If I want to simulate the pressurized container, how to mimic the valve action ?
2) If I model the air flow inlet without the container, how do I initialize properly. Since i have all inlet data how to initialize everything with UDF or transient profile (I tried profile but not reaching the final solution).
3) How to let Fluent know that the final boundary conditions are 1 atm and 300 K iniside the entire zone of spherical chamber?

Pictorial representation of mesh and the simulation conditions are in this link. I m not able to post image here!

https://ibb.co/dEQCgQ



https://www.cfd-online.com/Forums/ma...tml#post647897
Vaaj is offline   Reply With Quote

Old   May 6, 2017, 12:00
Default
  #11
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by flotus1 View Post
I think you need to replace *1 on the left side of your formula with *L_ref and thatīs it. Otherwise the units donīt match.

Anyway, I quickly checked the implementation in Fluent. My initial assumption was correct and so is the formula in my first post here.
The only caveat: when post-processing the volume flow rate at a mass flow inlet, fluent uses the depth from the reference values tab to calculate it. The flow velocity is indifferent to these settings. I donīt know if you can even change the value of L_ref to any other value than 1m.

I was thinking about such expression... Assuming that (u_av*H) is the same, doesn't reduce to 1 = h*(H/A3d) ??
And A3d is, of course, h*H ... I think that I'm not understanding correctly such correction implemented in Fluent...
Vaaj likes this.
FMDenaro is offline   Reply With Quote

Reply

Tags
3d to 2d, inlet conversion 3d to 2d, mass flow inlet confusion


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
Disappearing mass when using udf inlet profile divergence Fluent UDF and Scheme Programming 5 January 2, 2021 15:56
Velocity Profile at inlet if Mass flow rate BC is given Struggle_Achieve OpenFOAM Running, Solving & CFD 3 April 14, 2019 22:03
mass flow inlet and pressure outlet with target mass flow rate Zigainer FLUENT 13 October 26, 2018 06:58
Transient Mass flow inlet boundary condition nikhil FLUENT 1 April 16, 2014 10:58
reversed flow at velocity inlet / mass flow inlet ib FLUENT 1 March 26, 2007 14:11


All times are GMT -4. The time now is 15:09.