Hi,
Following error pops up while using the equation "{v49} = IF ({UDM-2}>0, 1, 0)" in tecplot.
Unrecognized command.
Error occurred near position marked with "@" below.
" {v49} = I@F ({UDM-2}>0, 1, 0)"
Not able to sort out this error.
Thank you.
Tecplot might be case sensitive. Try "if" instead of IF.
Also, when I define the variable, I do not use brackets.
So I would write: v49 = if({UDM-2}>0, 1, 0)
Check the syntax of IF command. It should be:
$!IF
You may need to close the loop by:
$!ENDIF
I hope this will work.
Kuldeep Dagar Thank you for the answer but unfortunately it is not working for me.
I used the following format in the specify equation:
//$! IF ({UDM-2}>0)
{v49}=1
$!ENDIF//
Error:
// Unrecognized command.
@$!IF({UDM-2}>0 )//
Omer Atasi Thank you for the answer.
I tried to change 'IF' to lower case but giving error.
Also I tried to define new variable without '{}', it showed following error. (screenshot)
Dear Arjun,
You can go thru the command line of tecplot in the attached document. I hope it will be helpful for you.
Interesting question
I wonder if you have solved this problems.
I meet the same problem when using tecplot 2011, however, it's not reproduced in tecplot 2017. So I think you can try latest version tecplot.
Fan E
Dear Fan E,
The problem is not resolved, will try with 2017 version. Thank you for your answer.
Arjun
Yes, Ee Fan is right, its a problem with the older version! 2017 version works
Hello Arjun, Im also facing the same issue. It throws error as I@F, does 2017 Version worked for you? or did u find some solution in 2013?
Hari
maybe you can try this,
{v49} = {IF} ({UDM-2}>0, 1, 0),
I met a similar problem, and I solved this problem by adding {}. I hope it will be helpful for you.
How can we export high quality image from cfd-post. Exporting the image with File -> Export->Png or JPEG or TIFF is not helping.
09 October 2017 5,202 9 View
I am trying to solve essentially a three dimensional heat conduction problem. With total of six boundaries of which two are kept at constant wall temperature and other boundaries insulated from...
03 April 2017 9,143 3 View
Is the it possible to incorporate two energy equation model (Local Thermal Non-Equilibrium,LTNE), in Fluent. By default, fluent does not allow for a LTNE simulation for multiphase flow. Can we...
05 June 2015 6,225 0 View
Hi, im trying to make a projection in a 3d comsol model. I have a non uniforme chanel and my intention is to get the average tempreture in the y-z cross section and se the average tempreture...
02 March 2021 4,624 4 View
Hello, I have a mechanism where air rises due to convective flows. In this simulation, nothing is driving the air except this. I understand that the Boussinesq approximation only works for small...
02 March 2021 4,910 3 View
How to do Piezoelectric coupling in ANSYS-APDL or COMSOL between tapered substrate and rectangular piezoelectric patch? Piezoelectric coupling between the rectangular substrate and rectangular...
02 March 2021 9,833 3 View
I follow this to make streamlines like the photos attached below: (software- CFD post-processing) First I plot the 2D streamline over a surface "streamline 1". them I plot a vector by the...
01 March 2021 8,668 3 View
Should I mesh the solid domain ? or should I use wall thickness? or Shell conduction? for Heat Transfer between two fluids of a Heat Exchanger. what is recommended?
01 March 2021 9,785 3 View
I have a virtual machine. My host Pc specs are not that good thats why i went for virtual servers. so basically my host pc has 8gb of ram with nvidia quadro k2200 4Gb DDR5 GPU ,processor intel...
01 March 2021 8,415 1 View
I have been trying to simulate heat transfer problem in Comsol 5.5 for long time but it always throw an error stating: "Failed to find a solution. Maximum number of Newton iterations...
28 February 2021 8,626 3 View
How can one improve mesh skewness, orthogonality, aspect ratio?
28 February 2021 7,730 3 View
I want to measure change of capacitance due to relative displacement between two parallel plates in COMSOL. Distance between two plates changes with time. So I'm using a time dependent study but...
26 February 2021 8,567 3 View
Hello, I have used the shell function on SpaceClaim to create thin solids for the model I am studying. These are contained within an enclosure for my study. I chose this approach as it avoids the...
24 February 2021 8,856 3 View