# volume flowrate integral

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 LinkBack Thread Tools Display Modes
August 12, 2011, 03:49
volume flowrate integral
#1
Member

sajad
Join Date: Nov 2010
Posts: 51
Rep Power: 9
hi to all.

i want to clculate following term in cfx that is time dependent quantity.
is it possible to calculate this term with out writing fortran code and if yes how??????????

""integral of ((Q-Qref)dt)"" where Q is flowrate at each time and Qref if refrence flowrate.........

pls help me in detail...

best regards
Attached Images
 1.jpg (5.0 KB, 1 views)

 August 12, 2011, 04:10 #2 Senior Member   Join Date: Jul 2011 Location: Berlin, Germany Posts: 171 Rep Power: 8 Why not writing it as an Expression and then creating a Variable which takes as Value the result of the expression? If you then activate the transient statistics in the CFX Pre Output menu, then it will write out the transient averages for each defined variable. Or you set the Variable as the one to be monitored during the run and then you can export the plotted data of the solver into a .csv file. Is this goin in the direction of your problem???

 August 12, 2011, 07:28 #3 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 14,063 Rep Power: 109 The easiest way to do this is to make a monitor point set to Q and write it out every time step. Then do the simulation and export the Q versus time graph and integrate it using excel, matlab or whatever you want.

August 12, 2011, 08:18
flowrate summation
#4
Member

sajad
Join Date: Nov 2010
Posts: 51
Rep Power: 9
hi.
my problem exctely is a porous domain.in normal case flowrate is Qref.then suddenly the pressure at inlet decreased and so the flow rate is decreased.i need to calculate that integral or in an other word "sumation" to use it and set te porous resistance and obtain the referenced flowrate.

so in any time step i need sumation of flowrate in the all passed time.this is exactly what i want to do.

is there a way that i can do this?

thanks for your replies.
Attached Images
 8-11-2011 4-48-21 PM.jpg (4.4 KB, 2 views)

 August 12, 2011, 08:27 #5 Member   sajad Join Date: Nov 2010 Posts: 51 Rep Power: 9 the methods that you write is valuable when i want the summation as an outpout. but i need it during the run to setup and change porous resistance. i will be thankfull if you gide me best regards

 August 12, 2011, 10:02 #6 Senior Member   Edmund Singer P.E. Join Date: Aug 2010 Location: Minneapolis, MN Posts: 512 Rep Power: 14 It looks like you couldnt get the summation to work out within CEL. It should be straight forward and I dont see any reason why you are getting the error that you are getting. Since you are have trouble with the CEL method, do the summation user fortran.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06 gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11 paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14 SSL FLUENT 2 January 26, 2008 12:55 Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00

All times are GMT -4. The time now is 02:30.

 Contact Us - CFD Online - Privacy Statement - Top