|
[Sponsors] |
Plane Making by using Power Syntax in ANSYS CFX |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 2, 2014, 23:01 |
Plane Making by using Power Syntax in ANSYS CFX
|
#1 |
New Member
Muhammad Uzair
Join Date: Aug 2014
Posts: 3
Rep Power: 12 |
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 |
|
Tags |
planes, power syntax |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |