CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Solution is diverging (Only the continuity equation)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2022, 05:36
Default Solution is diverging (Only the continuity equation)
  #1
New Member
 
Nitish Kumar
Join Date: Feb 2022
Posts: 3
Rep Power: 4
Nitish the Beast is on a distinguished road
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.
Nitish the Beast is offline   Reply With Quote

Reply

Tags
dr amine, rob

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 08:49.