|
[Sponsors] |
March 2, 2023, 14:30 |
moving wall UDF, hydrophobic wall
|
#1 |
New Member
Join Date: Nov 2011
Posts: 4
Rep Power: 15 |
Hi everyone
I am simulating a circular plain channel in laminar flow (2D). The main challenge is that I want to move channel walls with a velocity equal to : Uwall= -0.01*(dU/dy) (at wall) I have written below UDF code. There is no error when I interpret it, but after I want to apply it on the walls, I see this error: "Received signal SIGSEGV " The code is: #include "udf.h" #include "mem.h" #include "math.h" real Q; DEFINE_PROFILE(moving_wall, thread, i) { face_t f; Thread*t; cell_t c; begin_f_loop(f, thread) { Q = C_DUDY(c,t); F_PROFILE(f, thread, i)= -Q*0.0001; } end_f_loop(f, thread) } Please help me. All the best |
|
Tags |
hydrophobic surface, hydrophobicity, moving wall |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] How to draw a 3D-Drawing for Meshing | Kahnbein.Kai | OpenFOAM Meshing & Mesh Conversion | 4 | June 15, 2021 13:16 |
UDF moving wall | libia87 | Fluent UDF and Scheme Programming | 42 | September 29, 2020 02:09 |
Replicating Scalable Wall Function with a UDF | yousefaz | FLUENT | 0 | August 4, 2017 03:30 |
UDF Moving wall preview strange | Iggy_LR | Fluent UDF and Scheme Programming | 3 | February 5, 2016 17:41 |
stationary wall vs. moving wall | user0314 | FLUENT | 0 | August 26, 2011 10:42 |