|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
niharika
Join Date: Feb 2016
Posts: 3
Rep Power: 9 ![]() |
can anyone help me on how to give time dependent mass flow rate in inform.
My geometry is in polar coordinate system and is 3m long. The inlet is at z=0 and i have to specify mass flow rate varying with time. I have created a patch and tried the following statements. (source of p1 at patch is win*rho1) (source of w1 at patch is win) the solver is running but i am unable to achieve the expected results. Can anyone help me Thank you |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Join Date: Sep 2017
Posts: 9
Rep Power: 7 ![]() |
Hi,
You will need to write the following for specifying a mass flow: (source of p1 at patch is coval(fixflu,win*rho1) with area) (source of w1 at patch is coval(onlyms,win)) You will then need to apply a time varying component to the simple statements above. A simple sinusoidal function can implented as below: real(denin,pi,omega,period,uin,mflow) denin=1. pi=atan(1)*4 period=1.0 omega = 2*pi/period uin=1.0 mflow=uin*denin (initial of p1 is mflow) (initial of u1 is uin) (Source of p1 at inlet is coval(fixflu,mflow*SIN(omega*TIM)) with area) (source of u1 at inlet is uin*SIN(omega*TIM) with onlyms) Thanks |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Discrete Phase Model, outlet mass flow rate does not fit | edu_aero | FLUENT | 29 | February 3, 2020 09:38 |
Auto saving of mass flow rate or discharge with time step | Tanjina | FLUENT | 2 | December 1, 2014 15:15 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 10:34 |
How to change from mass flow to volume flow rate | stanley | FLUENT | 1 | February 2, 2007 07:44 |