|
[Sponsors] |
How can I use dynamic mesh in the expansion area of the pipe that has a narrow? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 18, 2020, 08:12 |
How can I use dynamic mesh in the expansion area of the pipe that has a narrow?
|
#1 |
New Member
Puchanee Larpruenrudee
Join Date: Aug 2020
Posts: 1
Rep Power: 0 |
Hello,
I'm trying to run the simulation of a pipe by using dynamic mesh only at a narrow area that has the expanded condition. As following picture P1.jpg Then I've tried to find a similar case to write a UDF code and found a case that has expanded condition. I tried to adapt a UDF code for my case but I faced the problems while setting up the data During compiled: fatal error LNK1104: cannot open file 'libudf.dll' During preview mesh motion: Update-Dynamic-Mesh failed. Negative cell volume detected. And following is my UDF code: Bifurcation.c As I don't have any experience of using dynamic mesh, and I think that it should be something wrong with my UDF code but I don't know how to fix it. Therefore, could anyone please give me a suggestion or guide me for this problem? I really appreciate all your kindness. |
|
August 19, 2020, 02:29 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
was
Code:
alpha = CURRENT_TIME; Code:
alpha = time; everything else looks good. Are you sure you've compiled code? If doesnt work, simplify "update" part of your code, for example Code:
if (NODE_POS_NEED_UPDATE (node_p)) { NODE_POS_UPDATED (node_p); NODE_Y (node_p) = 0.01; }
__________________
best regards ****************************** press LIKE if this message was helpful |
|
Tags |
2dimentional, 3dimensional, dynamic meshing, pipe expansion |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic gradient mesh adaption not working properly | MarkelRF | FLUENT | 0 | August 28, 2018 06:19 |
Dynamic mesh using profile | sanjeetlimbu | Fluent Multiphase | 3 | April 19, 2018 10:49 |
Local mesh refinement definition in a DEFORMING dynamic mesh zone using Dynamic Mesh | Emanuele88 | FLUENT | 0 | February 9, 2016 12:39 |
[ANSYS Meshing] slice to hexa mesh the expansion pipe? | junz | ANSYS Meshing & Geometry | 1 | November 2, 2014 22:44 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |