March 20, 2018 at 9:51 pmuconcordeSubscriber
I am simulating a y-velocity contour in a flat plate laminar flow field to compare with Blasius solution. I am using Symmetry at the top boundary. Symmetry boundary gives me all right setting except it forces the y-velocity to be zero at the top boundary.
I have tried to set top boundary to be Outflow (gives zero gradient of y-velocity) or Pressure Outlet, however, the results are not correct since the reversed flow appears.
I am wondering if I can do anything to get a free shear boundary on the top, which means the gradient of x-velocity and y-velocity are zero, whereas x-velocity and y-velocity are non-zero on the top boundary.
I do not know how can I implement it although I have read a bunch of threads in the forums. What UDF should I use? Define_profile or Define_adjust?
Hope someone can give me a useful hint.
March 22, 2018 at 2:35 amuconcordeSubscriber
I have written a UDF of DEFINE_ADJUST to let the y-velocity at the boundary equal to the y-velocity values in the boundary adjacent cells. It interpreted and hooked without error. However, error message popped out at the beginning of the computation. Here are the fault message and my UDF. Any comments would be appreciated.
Error: received a fatal signal (Segmentation fault).
Error Object: #f
Registering Udf, ("C:UsersAxis2-D_0209dp0FLU-9Fluentadjust2.c")
cell_t c, c0;
int ID = 261; /* Zone ID for top from Boundary Conditions task page */
Thread *t, *t0;
t = Lookup_Thread(d, ID);
/* this loop over all cells adjacent to top */
/* c0 and t0 identify the adjacent cell */
c0 = F_C0(f, t);
t0 = THREAD_T0(t);
F_V(f, t) = C_V(c0, t0); /* set cell value to face value on the top */
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- Difference between K-epsilon and K-omega Turbulence Model
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error: Received signal SIGSEGV
© 2023 Copyright ANSYS, Inc. All rights reserved.