CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Layering 2D dynamic mesh compile promblem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2019, 06:26
Post Layering 2D dynamic mesh compile promblem
  #1
New Member
 
Jiwon Yoon
Join Date: Feb 2019
Posts: 11
Rep Power: 2
Jiwon Y is on a distinguished road
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.
Jiwon Y is offline   Reply With Quote

Old   August 13, 2019, 01:18
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 1,001
Rep Power: 17
AlexanderZ will become famous soon enough
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)
press build, not load.
read your log

best regards
AlexanderZ is offline   Reply With Quote

Reply

Tags
compiling, dynamic mesh, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 20:42.