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

i am trying to solve the sliding cover problem over a cavity with two fluids water an

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2021, 14:25
Default i am trying to solve the sliding cover problem over a cavity with two fluids water an
  #1
New Member
 
pedro cornacini
Join Date: Feb 2021
Posts: 1
Rep Power: 0
pedro cornacini is on a distinguished road
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(
(0 0 0)//0
(0 0 1)//1
(0 0.5 1)//2
(0 0.5 0)//3
(1 0 0)//4
(1 0 1)//5
(1 0.5 1)//6
(1 0.5 0)//7

(0 0.5 0)//8
(0 0.5 1)//9
(0 1 1)//10
(0 1 0)//11
(1 0.5 0)//12
(1 0.5 1)//13
(1 1 1)//14
(1 1 0)//15




);

blocks
(
hex ( 0 1 2 3 4 5 6 7) ( 200 200 1) simpleGrading (1 1 1)
hex (8 9 10 11 12 13 14 15) ( 200 200 1) simpleGrading (1 1 1)

);

edges
(
);

boundary
(


walls
{
type wall;
faces
(
(0 4 7 3)//1
(2 6 5 1)//2
(1 5 4 0)//3
(3 7 6 2)//4
(12 15 11 8)//5
(10 14 15 9)//6
(9 13 12 8)//7
(11 15 14 10)//8

);
}

movingWall
{
type wall;
faces
(
(11 15 14 10)
);
}

fixedWalls
{
type wall;
faces
(
(0 4 7 3)//1
(2 6 5 1)//2
(1 5 4 0)//3
(3 7 6 2)//4
(12 15 11 8)//5
(10 14 15 9)//6
(9 13 12 8)//7


);
}
frontBack
{
type empty;
faces
(
(0 3 2 1)
(4 5 6 7)
(3 11 10 2)
(7 6 14 15)
);
}
);

// ************************************************** *********************** //




/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

mul [1 -1 -1 0 0] 0.0065;

muv [1 -1 -1 0 0] 5.953e-06;

phases ( water);

water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 124.775;
rho [1 -3 0 0 0 0 0] 998.2;
}

oil
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 111.125;
rho [1 -3 0 0 0 0 0] 889;
}


// ************************************************** *********************** //


/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : dev-d35103fe2221
Exec : blockMesh
Date : Feb 21 2021
Time : 16:11:47
Host : "pedro-H110M-H"
PID : 15276
I/O : uncollated
Case : /home/pedro/OpenFOAM/mistura/cavitatingFoam/LES/throttle
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating block mesh from
"system/blockMeshDict"
Creating block edges
No non-planar block faces defined
Creating topology blocks


--> FOAM FATAL IO ERROR:
Block hex (0 1 2 3 4 5 6 7) (200 200 200) simpleGrading (1(1) 1(1) 1(1)) is inside-out

file: /home/pedro/OpenFOAM/mistura/cavitatingFoam/LES/throttle/system/blockMeshDict/blocks at line 46.

From function void Foam::blockDescriptor::check(const Foam::Istream&)
in file blockDescriptor/blockDescriptor.C at line 100.
pedro cornacini 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
Coupled Heat and Mass Transfer Mecroob OpenFOAM Running, Solving & CFD 1 July 12, 2020 19:24
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 04:37
OpenFOAM v1912 Green Water Loading Case Implementation Problem leuthar OpenFOAM Running, Solving & CFD 2 March 12, 2020 16:42
Simulation Water and Oil URGENT problem alexandrelp CFX 3 May 5, 2014 21:20
extremely simple problem... can you solve it properly? Mikhail Main CFD Forum 40 September 9, 1999 09:11


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