|
[Sponsors] |
Solution is diverging (Only the continuity equation) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 2, 2022, 05:36 |
Solution is diverging (Only the continuity equation)
|
#1 |
New Member
Nitish Kumar
Join Date: Feb 2022
Posts: 3
Rep Power: 4 |
Hii, I'm trying to simulate a sloshing problem in which I'm applying Acos(w*t) velocity in the x-direction at the bottom surface of the cylindrical tank having water at the base and the top is filled with air and open to the atmosphere. For this, I applied dynamic mesh (Layering option ) only by using UDF as shown below. the problem is my solution is diverging especially the continuity equation. Can anyone suggest me what should I do?
UDF: #include "udf.h" static real velx =0.0; DEFINE_CG_MOTION(bottom,dt,vel,omega,time,dtime) { NV_S(vel, =, 0.0); NV_S(omega, =, 0.0); velx =0.012566*cos(6.28*time); vel[0] = velx; Message ("time= %f, vel[0]=%f\n", time, vel[0]); } Relaxation factor: Pressure-0.6 Density-0.8 Body force-0.5 momentum-0.4 volume fraction-0.6 Suggest me something. Thank you. |
|
Tags |
dr amine, rob |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 5, 2023 23:48 |
decompose dependent solution | arionfard | OpenFOAM | 3 | December 10, 2018 09:36 |
Domain Reference Pressure and mass flow inlet boundary | AdidaKK | CFX | 75 | August 20, 2018 05:37 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 02:34 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |