|
[Sponsors] | |||||
How to get thread pointer to dynamic volume (not face) in 3D? Problem w DT_THREAD. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Igor
Join Date: Mar 2012
Posts: 13
Rep Power: 15 ![]() |
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 |
|
|
|
|
|
![]() |
| Tags |
| dt_thread, dynamic mesh, thread pointer, volume |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |