CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

Integration with Fieldview

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 3, 2006, 04:21
Default Integration with Fieldview
  #1
Dominik
Guest
 
Posts: n/a
Hi,

i need help regarding the capabilities of fieldview. I've got a 3d (X,Y,Z) concentration field and want to integrate only in Z-direction, or better said i want to average in Z-direction. The result should be a new X,Y contour plot. In the function pop-up you can't integrate and in the integration-controls-panel you obtain only the result of the integration of the current surface. Has anybody experience in this problem and is able to help me??

thanks

Dominik
  Reply With Quote

Old   May 3, 2006, 10:15
Default Re: Integration with Fieldview
  #2
Atit
Guest
 
Posts: n/a
I am not sure if I understand you exactly. In my case, I write expression to integrate some properties, such as, temperature, pressure, or density over the planes perpendicular to the flow direction. In the expression, I use 'FOR' to change the position of those planes. Is this the thing you want?
  Reply With Quote

Old   May 4, 2006, 11:10
Default Re: Integration with Fieldview
  #3
Dominik
Guest
 
Posts: n/a
uhh,

what actually is 'FOR'? Fortran? I want to average a 3d concentration field in one direction. The result is 2d concentration field.

cheers

Dominik

  Reply With Quote

Old   May 5, 2006, 02:14
Default Re: Integration with Fieldview
  #4
Dominik
Guest
 
Posts: n/a
uhh,

what actually is 'FOR'? Fortran? I want to average a 3d concentration field in one direction. The result is 2d concentration field.

cheers

Dominik

  Reply With Quote

Old   May 7, 2006, 13:28
Default Re: Integration with Fieldview
  #5
Atit
Guest
 
Posts: n/a
I enter the following code in 'command editor' of CFX-Post. I hope you can adapt it to what you want.

!open (OUTFILE_bfAD, ">ResultFiles/RotTube_velvel_Buoyant_rotat_bf.dat"); !for ($i=0; $i<=10; $i++) { #calculate a new value of y !$Y = 4.1 + $i * 4.58; # change the plane location PLANE: Plane 1 Option = ZX Plane Y = $Y [m] END !$Press = massFlowAve("Pressure", "Plane 1"); !$ptot = massFlowAve("Total Pressure", "Plane 1"); !$Temp = massFlowAve("Temperature", "Plane 1"); !$Vel = massFlowAve("Velocity", "Plane 1"); !$u_vel = massFlowAve("Velocity u", "Plane 1"); !$v_vel = massFlowAve("Velocity v", "Plane 1"); !$w_vel = massFlowAve("Velocity w", "Plane 1"); !$Den = massFlowAve("Density", "Plane 1"); !$enthalS = massFlowInt("enthalpy", "Plane 1"); !$entroS = massFlowInt("entropy", "Plane 1"); !$mvel = massFlowInt("Velocity", "Plane 1"); !$AreaP = area("Plane 1"); !$vel_theta = areaAve("Velocity u*Velocity u +Velocity w*Velocity w", "Plane 1"); !$mdot = massFlow("Plane 1"); !print OUTFILE_bfAD "$Y $Temp $Press $Den $Vel $u_vel $v_vel $w_vel $vel_theta $AreaP $mdot $enthalS $ptot $entroS $mvel\n"; !} !close (OUTFILE_bfAD);

  Reply With Quote

Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
About the integration along a line in CFX-post Zhihua Xie CFX 3 March 15, 2007 06:49
Integration with FIELDVIEW Dominik FLUENT 1 May 3, 2006 15:05
For Fluent and FieldView users Germain Lannegrand FLUENT 0 March 27, 2001 07:28
Fieldview Data Format?? Choong K. Yoo FieldView 0 August 23, 1999 19:59
Any numerical triple integration program is available in Fortran? Radhakrishnan Main CFD Forum 3 March 4, 1999 02:03


All times are GMT -4. The time now is 03:11.