|
[Sponsors] |
March 11, 2013, 06:37 |
Problem: "unexpected token 'P4' "
|
#1 |
New Member
Daniel Løchen
Join Date: Mar 2013
Posts: 1
Rep Power: 0 |
Hey,
I'm a fairly new user to Fluent, and therefore i'm going through the tutorials (found on the Ansys homepage). In the chapter 2.4.2 I'm supposed to add new parameters to the already existing tutorial file. I add three more parameters "input_hcpos", "input_ftpos", "input_wsfpos". They receive the IDs P4, P5 and P6 automatically. My problem arises when I'm told to change the expressions of the parameters P1, P2 and P3. For ex. : P1 expression should be = "max(25, min(P4, 90)) " So the value of P1 should be determined by P4. However I get the error "unexpected token 'P4' ". Does anybody have a clue? I think it can be connected to that in the "Properties of Outline"-window that displays the properties of the selected variable, misses one of its value, namely the row called "NameInScope". I think my problem has a root there. Thank you! |
|
March 21, 2013, 12:59 |
|
#2 |
New Member
Francesco
Join Date: Mar 2013
Posts: 7
Rep Power: 13 |
Hi Daniello,
Unfortunately I can give you an answer since I have the same problem. Have you find a solution? thank you in advance, Frenk |
|
March 21, 2013, 13:15 |
|
#3 |
New Member
Francesco
Join Date: Mar 2013
Posts: 7
Rep Power: 13 |
Hi Daniello,
I just now find a solution. You have just replace the ',' with the ';' and it will work. The correct input is: min(max(25;P4);90). good luck with Aspen! we can keep in contact for further problems. ciao, Frenk |
|
July 24, 2013, 13:40 |
|
#4 |
New Member
Alper
Join Date: Jul 2013
Posts: 8
Rep Power: 12 |
Thanks frank for solution
|
|
January 3, 2014, 04:03 |
|
#5 |
New Member
oz
Join Date: Jun 2012
Posts: 3
Rep Power: 13 |
thank you brother
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with interFoam; Wave/wiggle alpha1 behavior | JonW | OpenFOAM | 10 | February 4, 2023 07:27 |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 05:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |