|
[Sponsors] |
February 19, 2016, 00:46 |
Error in Zone motion
|
#1 |
Senior Member
Join Date: Mar 2013
Location: B'lr
Posts: 130
Rep Power: 13 |
Hi all,
I have been working on motion of fluid in side the aircraft drop tank. For my initial case fluid is moving to and fro. For this case I used the following code but is yeilding error. what is the problem? Any help would be greatly appreciated. Code:
#include "udf.h" DEFINE_ZONE_MOTION(fmotion, omega, axis, origin, velocity, time, dtime) { if(time<10) { omega = 10; } else omega=0; N3V_D(velocity,=,0.05*sin(omega*time), 0.0, 0.0); } ..\src\motion.c(14): warning: not enough actual motion parameters for macro 'NV_D' ..\src\motion.c(14): error C2109 subscripts requires pointer or error type ..\src\motion.c(14): error C2109 subscripts requires pointer or error type ..\src\motion.c(14): error C2109 subscripts requires pointer or error type Thank you |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 09:28 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 10:52 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 17:51 |
Problem in IMPORT of ICEM input file in FLUENT | csvirume | FLUENT | 2 | September 9, 2009 01:08 |