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

How to get thread pointer to dynamic volume (not face) in 3D? Problem w DT_THREAD.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2014, 13:02
Default How to get thread pointer to dynamic volume (not face) in 3D? Problem w DT_THREAD.
  #1
New Member
 
Igor
Join Date: Mar 2012
Posts: 13
Rep Power: 14
DaddySpeleo is on a distinguished road
Hi!
I tried to use dynamic mesh, so I use
Thread *t = DT_THREAD(dt);
to get thread pointer to dynamic surface, and it works in 2D without problems.
In 3D case I want to move nodes of volume, but if I use thread pointer from DT_THREAD(dt) I get errors.
If I use t=Lookup_Thread(domain,ID) - OK
But! ID - is a Cell ID! Not ID from boundary conditions which DT_THREAD(dt) returns.
So - I can't transfer thread pointer from my moving volume to UDF, I can only "hardcode" this number (Cell ID) in text of UDF.
How should I use pointers to move volume in 3D?
Best regards,
Daddy
DaddySpeleo is offline   Reply With Quote

Reply

Tags
dt_thread, dynamic mesh, thread pointer, volume


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
[blockMesh] Internal walls of zero thickness anger OpenFOAM Meshing & Mesh Conversion 23 February 6, 2020 19:25
[snappyHexMesh] How to define to right point for locationInMesh Mirage12 OpenFOAM Meshing & Mesh Conversion 7 March 13, 2016 15:07
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 11:58
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 06:50
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56


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