|
[Sponsors] |
August 12, 2019, 06:26 |
Layering 2D dynamic mesh compile promblem
|
#1 |
New Member
Jiwon Yoon
Join Date: Feb 2019
Posts: 11
Rep Power: 7 |
Hello
I'm trying to use UDF for dynamic meshing(a geometry moving upwards and then downwards as speed referred in my UDF thread). Down below is coding for my UDF, but an error occurs as I try to compile it to my solver settings. #include "udf.h" #include "dynamesh_tools.h" DEFINE_CG_MOTION(nozzle, dt, vel, omega, time, dtime) { /* reset velocities */ NV_S (vel, =, 0.0); NV_S (omega, =, 0.0); /* compute velocity formula */ vel[1]=0.5714; if (CURRENT_TIME >= 0.0014) { vel[1]=-0.4324; } else if (CURRENT_TIME >= 0.00185) { NV_S (vel, =, 0.0); NV_S (omega, =, 0.0); } message("\n"); message("\n y_velocity = %g \n",vel[1]); } ------------------------- Here is a message I get when error occurs. <The UDF library you are trying to load is not compiled for 2ddp on the current platform(win64)> Can anyone help me to solve this error? Any comments would be great help Thanks. |
|
August 13, 2019, 01:18 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
message starts from the capital letter Message
in your error Code:
The UDF library you are trying to load is not compiled for 2ddp on the current platform(win64) read your log best regards |
|
Tags |
compiling, dynamic mesh, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interfoam and dynamic mesh with layering (OF1906) | nkalkote | OpenFOAM Running, Solving & CFD | 0 | July 17, 2019 02:57 |
Dynamic Mesh | kennyboy | FLUENT | 1 | February 23, 2019 02:52 |
Local mesh refinement definition in a DEFORMING dynamic mesh zone using Dynamic Mesh | Emanuele88 | FLUENT | 0 | February 9, 2016 12:39 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |