volume flowrate integral
1 Attachment(s)
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 ((QQref)dt)"" where Q is flowrate at each time and Qref if refrence flowrate......... pls help me in detail... best regards 
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??? 
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.

flowrate summation
1 Attachment(s)
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. 
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 
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. 
All times are GMT 4. The time now is 02:47. 