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

(Dynamic) Mesh Modification

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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
 
Join Date: Feb 2010
Posts: 164
Rep Power: 17
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, 14:25
Default
  #3
TDi
Member
 
Tim Diller
Join Date: Mar 2010
Location: Austin, TX
Posts: 32
Rep Power: 16
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, 21:31
Default
  #4
Senior Member
 
Join Date: Feb 2010
Posts: 164
Rep Power: 17
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


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
Dynamic Mesh on Pintle type injector. herntan FLUENT 16 September 4, 2020 09:27
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 05:24
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 09:10.