|
[Sponsors] |
March 22, 2018, 10:18 |
the error of vadefs.h:line 48:parse error
|
#1 |
New Member
yanghai
Join Date: Mar 2018
Posts: 16
Rep Power: 8 |
the following is my udf about the velocity inlet of a boundary wall, but is always occur the error: D:\\Program files\\ansys inc\\v160\\fluent\\fluent16.0.0/sre/udf/vadefs.h:line 48: parse error.
but, there is no line 48 in my udf! who know the problem is ? what should i do? #include "udf.h" #define MD 20.43 #define QR 4227000 DEFINE_PROFILE(eva_velocity,t,i) { real q; real q_total; face_t f; q=BOUNDARY_HEAT_FLUX(f,t); begin_f_loop(f,t) { q_total += q; F_PROFILE(f,t,i)=-q_total/(QR*MD); } end_f_loop(f,t) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 01:21 |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |