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

How to use UDF to define a moving wall

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2004, 02:52
Default How to use UDF to define a moving wall
  #1
lingo
Guest
 
Posts: n/a
emma,Ady and others:

I met a problem.When I activate the Dynamic Meshing and OK,someting as follows appears in my console window:

"Could not check out fluent-mdm-beta: No such feature exists Feature: fluent-mdm-beta License path: D:\FLUENT.INC\license\license.dat; FLEXlm error: -5,357 For further information, refer to the FLEXlm End User Manual, available at "www.globetrotter.com".

Error: unable to acquire a license for the moving/deforming mesh model.''

what's wrong ? How to solve it?

another question: I only can activate the "parameter"in "Dynamic meshing" ,how to activate "the zones" in "Dynamic meshing"?

Thank you for your help!

  Reply With Quote

Old   April 12, 2004, 02:52
Default Re: How to use UDF to define a moving wall
  #2
lingo
Guest
 
Posts: n/a
Hi,Guess and other friends:

I still don't catch ¡°THREAD_VAR(tc).fluid.omega = your function¡±.I know little about the variables in Macro¡°DEFILE-ADJUST¡±. I try to write a udf :

#inclue ¡°udf.h¡±

DEFILEA¡ªADJUST(my£*adjust,d) { Thread*t; cell-t c

thread -loop-c(t,d) { begin-c-loop(c,t) THREAD-VAR(tc).fluid .omega=5*sin(5*t); end-c-loop(c,t) } }

Can you check it for me? Thank you very much.
  Reply With Quote

Old   April 13, 2004, 04:58
Default Re: How to use UDF to define a moving wall
  #3
emma
Guest
 
Posts: n/a
Hello, Lingo,

When you use "dynamic mesh modeling" in fluent, you should add a line "#include "dynamesh_tools.h".

Regards,

Emma
  Reply With Quote

Old   April 13, 2004, 23:05
Default Re: How to use UDF to define a moving wall
  #4
lingo
Guest
 
Posts: n/a
Hi,emma:

Thank you for your advice.Yesterday I found several udf examples about DEFINE_CG_MOTION(name,dt,vel,omega,time,dtime).

I never found document about ¡°dynamec meshing¡±and ¡°DEFIFE_CG_MOTION¡±in my Fluent6.0(maybe i miss it,but I examined carefully, In Fluent6document\fluent6.0\help\pdf\udf)¡£ I thirst for the document.Can you send it for me in E_mail or provide me the website to download it (if permissible)?

Thank you very much!
  Reply With Quote

Old   April 14, 2004, 04:14
Default Re: How to use UDF to define a moving wall
  #5
emma
Guest
 
Posts: n/a
Hi, Lingo,

You can search the correpondent documentation in internet with "google". Just write the key words, such as " fluent6.0 dynamic mesh manual" in the dialog box, you will find it. About the explanation of the macros for dynamic meshing and how to use them, you could find them in fluent 6.1. See fluent 6.1 User's guide and UDF manual. You'll find them.

Good luck!

Emma
  Reply With Quote

Reply


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
How to use UDF to define a moving wall Big Stone FLUENT 14 February 13, 2021 07:24
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 15:33
Missing math.h header Travis FLUENT 4 January 15, 2009 11:48
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09


All times are GMT -4. The time now is 12:38.