CFD Online URL
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

(Dynamic) Mesh Modification

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 6, 2009, 09:13
Question (Dynamic) Mesh Modification
  #1
New Member
 
Join Date: Nov 2009
Posts: 1
Rep Power: 0
Mr. Joe is on a distinguished road
Hi!

I've a general question about the modification of existing meshes. Is there another method of modification than a dynamic mesh udf? Because I need to modify my mesh after each 1000 iterations in a time steady calculation. I think dynamic mesh is only working in transient mode???

Thanks,
Joe
Mr. Joe is offline   Reply With Quote

Old   March 1, 2010, 05:31
Smile
  #2
Senior Member
 
Ji Junjie
Join Date: Feb 2010
Location: Shanghai, China
Posts: 105
Rep Power: 6
gearboy is on a distinguished road
Quote:
Originally Posted by Mr. Joe View Post
Hi!

I've a general question about the modification of existing meshes. Is there another method of modification than a dynamic mesh udf? Because I need to modify my mesh after each 1000 iterations in a time steady calculation. I think dynamic mesh is only working in transient mode???

Thanks,
Joe
Dynamic mesh can be applied to steady case. DEFINE_GRID_MOTION and other mesh motion macros are also available. See the fluent manual for details.

In the steady case, you can use the following macro to tell fluent to update the mesh as the "DEFINE_GRID_MOTION " or other mesh motion macros instruct at the end of each iteration. Of course, do not forget to hook it in fluent.

DEFINE_EXECUTE_AT_END(update_mesh)
{
CX_Interpret_String("(steady-update-dynamic-mesh)");
}
gearboy is offline   Reply With Quote

Old   March 23, 2010, 15:25
Default
  #3
TDi
Member
 
Tim Diller
Join Date: Mar 2010
Location: Austin, TX
Posts: 32
Rep Power: 6
TDi is on a distinguished road
Quote:
Originally Posted by gearboy View Post
Dynamic mesh can be applied to steady case. DEFINE_GRID_MOTION and other mesh motion macros are also available. See the fluent manual for details.

In the steady case, you can use the following macro to tell fluent to update the mesh as the "DEFINE_GRID_MOTION " or other mesh motion macros instruct at the end of each iteration. Of course, do not forget to hook it in fluent.

DEFINE_EXECUTE_AT_END(update_mesh)
{
CX_Interpret_String("(steady-update-dynamic-mesh)");
}
I have spent a lot of time perusing the Fluent manuals looking for function references but without success. "CX_Interpret_String" is not a C function, and I can find no reference to it in the Fluent user manual or UDF guide. I'm also trying to define grid motion, but the examples are full of functions that I don't know anything about, so I feel limited to what the examples do. What is your source of information?
TDi is offline   Reply With Quote

Old   March 24, 2010, 22:31
Default
  #4
Senior Member
 
Ji Junjie
Join Date: Feb 2010
Location: Shanghai, China
Posts: 105
Rep Power: 6
gearboy is on a distinguished road
Quote:
Originally Posted by TDi View Post
I have spent a lot of time perusing the Fluent manuals looking for function references but without success. "CX_Interpret_String" is not a C function, and I can find no reference to it in the Fluent user manual or UDF guide. I'm also trying to define grid motion, but the examples are full of functions that I don't know anything about, so I feel limited to what the examples do. What is your source of information?
CX_Interpret_String is a UDF function to perform scheme command in UDF. But not every scheme command can be performed.

(steady-update-dynamic-mesh) is the scheme command to tell fluent update the steady dynamic mesh.
gearboy is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 05:24
Dynamic Mesh on Pintle type injector. herntan FLUENT 15 January 4, 2012 04:31
dynamic mesh on a hexa grid Manoj Kumar FLUENT 4 August 8, 2010 09:28
dynamic mesh on a hexa grid Manoj Kumar FLUENT 0 August 21, 2007 08:41
Dynamic mesh + grid adapt = Crash! (Files included BillH FLUENT 4 July 24, 2007 16:31


All times are GMT -4. The time now is 14:47.