|
[Sponsors] |
syntax error for IF Else conditions in CFD-POST |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 3, 2016, 07:41 |
syntax error for IF Else conditions in CFD-POST
|
#1 |
New Member
shubham jain
Join Date: Dec 2013
Posts: 25
Rep Power: 12 |
I am struggling with the syntax for if else conditions. I am saving this as .cse format and then running within CFD-POST.
! open (ID, '>', 'write01.txt'); ! $n=10; if ($n==1) { ! print ID "if command executed\n"; } else { ! print ID "else command executed\n"; } ! close ID; Although I want to create polylines using a contour, but in order to find the error, I have shorten it out to this and even this doesnot work with following error. ERROR CCL parser failed with message: invalid parameter name "if (10": contains invalid character '(' This is very very annoying as I am stuck due to this minor thing. If someone could assist me, that would be of great help. Thanks a lot |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem in CFD -post | pratikvn | ANSYS | 4 | March 21, 2018 02:56 |
Plotting Radial Velocity and Tangential Velocity in CFD Post | ashtonJ | CFX | 5 | July 13, 2015 02:49 |
View results at a contact region in CFD post | AGP | FLUENT | 0 | June 10, 2014 11:11 |
deviation in calculated force between CFX solver and CFD post | murx | CFX | 2 | April 9, 2014 20:03 |
Automated post processing using CFD Post | shreyasr | ANSYS | 0 | January 28, 2013 06:21 |