|
[Sponsors] |
October 19, 2018, 04:10 |
Syntax error when interpreting UDF file
|
#1 |
New Member
hanis izzati
Join Date: Oct 2018
Posts: 6
Rep Power: 8 |
Hello,
I'm using UDF in my simulation to achieve the actual velocity profile at the inlet (3D case). When I tried to interpret my UDF file in FLUENT, an error as below occurred. Error: /home/m_shinohara/UDF2.c: line 4: syntax error. I don't know how to fix the error since this is my very first time using UDF. Here is my UDF file: PHP Code:
Thank you in advance. |
|
October 20, 2018, 13:55 |
|
#2 |
Member
mohamed
Join Date: Apr 2016
Posts: 34
Rep Power: 10 |
sheck line 4
Area=(M_PI/4.0)*pow(Diameter,2); M_PI and pow(diameter,2) M_PI AND DIAMETER define them |
|
October 21, 2018, 01:30 |
|
#3 |
New Member
hanis izzati
Join Date: Oct 2018
Posts: 6
Rep Power: 8 |
Thank you for your suggestion, mohamed. I'll be sure to try it.
|
|
October 21, 2018, 02:12 |
|
#5 |
New Member
hanis izzati
Join Date: Oct 2018
Posts: 6
Rep Power: 8 |
Hi, blackmask. Thank you for the information.
I'll fix my UDF file |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 19:13 |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 07:47 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |