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

Plane Making by using Power Syntax in ANSYS CFX

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2014, 23:01
Default Plane Making by using Power Syntax in ANSYS CFX
  #1
New Member
 
Muhammad Uzair
Join Date: Aug 2014
Posts: 3
Rep Power: 12
muzair is on a distinguished road
Hi, I am a new user of CFX. currently I am using this Power syntax code to generate the different ZX planes on Y axis to get my output....

!open FILE, ">90.csv";
#print column heading
!print FILE "cm,q (W/m^2),Twall (K),Tbulk (K),h (W/m^2-K) \n";
!$numsteps=250;
#start the loop
!for ($i=1; $i<= $numsteps; $i++)
{
#Make the Plane
PLANE: Location $i
Option = ZX Plane
Y = $i [cm]
END
#extract data
!$Tb=massFlowAve("Temperature","Location $i");
!$Tw=maxVal("Temperature","Location $i");
!$q=maxVal("Wall Heat Flux","Location $i");
!$deltaT=$Tw-$Tb;
!$h=$q/$deltaT;
#print data to the file
!print FILE "$i,$q,$Tw,$Tb,$h \n";
>delete /PLANE:Location $i
#close the loop
!}
!close FILE;


Can anyone guide me how to write or change this code to generate the Plane at a certain angle (i.e. 60)

Regards
muzair is offline   Reply With Quote

Reply

Tags
planes, power syntax

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANSYS CFX with Remeshing in ICEM CFD adeban CFX 21 March 29, 2021 07:06
Compressible Flow in Ansys CFX bcheruk CFX 15 July 6, 2017 07:30
I got code 1 error from ANSYS CFX zlor1324 CFX 0 March 11, 2014 20:22
ANSYS CFX Tutorial Rashid CFX 25 December 20, 2012 02:22
ANSYS Multi-physics and CFX coupling error anujit CFX 3 June 21, 2009 19:39


All times are GMT -4. The time now is 20:17.