CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

water injection error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2022, 01:45
Default water injection error
  #1
New Member
 
Join Date: Jan 2022
Posts: 27
Rep Power: 4
wjchoi is on a distinguished road
hello i am a beginner of openfoam !

To run the weiroverflow example related to water injection, i modified some parts of original weiroverflow tutorial code. so i made 2(m) * 2(m) square geometry (2D analysis), and set the left edge as inlet, bottom and right edge as walls, top edge as atmosphere. and i want to time varying water injection, so i modified the alpha.water and velocity (U) boundary condition of "inlet" in original code.

modified contents about inlet are below

[alpha water]


boundaryField
{
inlet1
{
type variableHeightFlowRate;
lowerBound 0;
upperBound 1;
value uniform 0;
}


}


[U]


boundaryField
{
inlet1
{

type variableHeightFlowRateInletVelocity;
alpha alpha.water;
value uniform (0 0 0);
flowRate table
(
(0 0)
(100 0)
(100.01 0.0005)
(200 0.0005)
(200.01 0)
(300 0)
(300.01 0.0005)
(400 0.0005)
(400.01 0)
(500 0)
(500.01 0.0005)
(600 0.0005)
(600.01 0)
(700 0)
(700.01 0.0005)
(800 0.0005)
(800.01 0)
(900 0)
(900.01 0.0005)
(1000 0.0005)
);

}

this worked well !

so to go one step further, in this time, i set the inlet as parts of left edge not all left edge.
Unlike setting the entire left edge (2m) as the inlet condition in my previous code, i only set parts of left edge as inlet (coordinate (-1 0.5 0) ~ (-1 0.9 0) ; inlet length 0.4m), and the others of left edge except inlet are walls
and all condition except this condition are same as previous code.. (vertices of whole square geometry that i used are (-1 -1 0) (-1 1 0) (1 1 0) (1 -1 0))

however in this case, the error occurs.. the contents of error are below.

[error]

MULES: Solving for alpha.water
Phase-1 volume fraction = 0.05 Min(alpha.water) = 0 Max(alpha.water) = 1
MULES: Solving for alpha.water
Phase-1 volume fraction = 0.05 Min(alpha.water) = 0 Max(alpha.water) = 1
[32] #0 Foam::error:rintStack(Foam::Ostream&)[33] #0 Foam::error:rintStack(Foam::Ostream&)[36] #0 Foam::error:rintStack(Foam::Ostream&)[38] #0 Foam::error:rintStack(Foam::Ostream&)[39] #0 Foam::error:rintStack(Foam::Ostream&)[41] #0 Foam::error:rintStack(Foam::Ostream&)[45] #0 Foam::error:rintStack(Foam::Ostream&)[47] #0 Foam::error:rintStack(Foam::Ostream&)[51] #0 Foam::error:rintStack(Foam::Ostream&)[1] #0
(omitted)
.
.
.
[28] #1 Foam::sigFpe::sigHandler(int) at ??:?
at ??:?
[14] #1 Foam::sigFpe::sigHandler(int)[39] #1 Foam::sigFpe::sigHandler(int) at ??:?
[33] #1 Foam::sigFpe::sigHandler(int)[26] #1 Foam::sigFpe::sigHandler(int) at ??:?
[43] #1 Foam::sigFpe::sigHandler(int) at ??:?
[15] #1 Foam::sigFpe::sigHandler(int) at ??:?
at ??:?
[6] #1 Foam::sigFpe::sigHandler(int) at ??:?
[55] #1 Foam::sigFpe::sigHandler(int)[20] #1 Foam::sigFpe::sigHandler(int) at ??:?
at ??:?
at ??:?
[9] #1 Foam::sigFpe::sigHandler(int) at ??:?
.
.
(omitted)
.
.

i didn't understant this error..
can someone tell me what should i do for solving this problem..?

thank you !!
wjchoi is offline   Reply With Quote

Reply


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
Compile calcMassFlowC aurore OpenFOAM Programming & Development 13 March 23, 2018 08:43
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 07:35
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 12:39
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 19:44


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