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

solving problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2013, 07:03
Default solving problem
  #1
Member
 
Mizo
Join Date: Jan 2013
Posts: 34
Rep Power: 13
Ingenieur is on a distinguished road
Hi Foamers,

could any one plz help me to find the Error with simuation car in windtunnel,
i got this error by solving with LESmodel.

the mesh was correctly created, but i dont know the backgound of this error:


--> FOAM FATAL IO ERROR:
keyword surface is undefined in dictionary "::surfaces::surfaces"

file: ::surfaces::surfaces from line 194 to line 200.
From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 410.

FOAM exiting


i'll be grateful for ur help

thanx in advance,

Monzer
Ingenieur is offline   Reply With Quote

Old   April 5, 2013, 08:26
Post
  #2
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
Quote:
Originally Posted by Ingenieur View Post
Hi Foamers,

could any one plz help me to find the Error with simuation car in windtunnel,
i got this error by solving with LESmodel.

the mesh was correctly created, but i dont know the backgound of this error:


--> FOAM FATAL IO ERROR:
keyword surface is undefined in dictionary "::surfaces::surfaces"

file: ::surfaces::surfaces from line 194 to line 200.
From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 410.

FOAM exiting


i'll be grateful for ur help

thanx in advance,

Monzer

what are the mesh geometry and the boundary conditions for your case??
Tushar@cfd is offline   Reply With Quote

Old   April 5, 2013, 09:24
Default
  #3
Member
 
Mizo
Join Date: Jan 2013
Posts: 34
Rep Power: 13
Ingenieur is on a distinguished road
Hi Tushar,

my autoHexMesh ist:

FoamFile
{
version 2.1.2;
format ascii;
root "";
case "project2";
instance "";
local "";
class dictionary;
object autoHexMeshDict;
}

include "$FOAM_CONFIG/autoHexMesh.misc";
include "$FOAM_CONFIG/autoHexMesh.motionDict";
include "$FOAM_CONFIG/autoHexMesh.snapDict";
include "$FOAM_CONFIG/autoHexMesh.shrinkDict";
globalFeatureEdges true;
doLayers true;
doSnap true;
doRefine true;
curvature 0.95;
nBufferLayers 4;
keepPoints ((0 0 0));
surfaces
(
{
name SAE;
file "SAE.stl";
surfaceLayers 3;
maxRefinementLevel 5;
minRefinementLevel 3;
regions
(
{
surfaceLayers 3;
maxRefinementLevel 5;
minRefinementLevel 3;
name Default_PSHELL_Property;
}
{
surfaceLayers 3;
maxRefinementLevel 5;
minRefinementLevel 3;
name Default_PSHELL_Property1;
}
{
surfaceLayers 3;
maxRefinementLevel 5;
minRefinementLevel 3;
name Default_PSHELL_Property2;
}
{
surfaceLayers 3;
maxRefinementLevel 5;
minRefinementLevel 3;
name Default_PSHELL_Property3;
}
{
surfaceLayers 3;
maxRefinementLevel 5;
minRefinementLevel 3;
name Default_PSHELL_Property4;
}
{
surfaceLayers 3;
maxRefinementLevel 5;
minRefinementLevel 3;
name Default_PSHELL_Property5;
}
);

}
{
name Windkanal;
file "Windkanal.stl";
surfaceLayers 0;
maxRefinementLevel 0;
minRefinementLevel 0;
regions
(
{
surfaceLayers 0;
maxRefinementLevel 0;
minRefinementLevel 0;
name 00_Inlet;
}
{
surfaceLayers 0;
maxRefinementLevel 0;
minRefinementLevel 0;
name 00_Outlet;
}
{
surfaceLayers 3;
maxRefinementLevel 0;
minRefinementLevel 0;
name 00_Ground;
}
{
surfaceLayers 0;
maxRefinementLevel 0;
minRefinementLevel 0;
name 00_TOP;
}
{
surfaceLayers 0;
maxRefinementLevel 0;
minRefinementLevel 0;
name Right_Side;
}
{
surfaceLayers 0;
maxRefinementLevel 0;
minRefinementLevel 0;
name 00_Left_Side;
}
);

}
);

refinementShells
(
{
name VR;
type searchableBox;
min (-1500 -1500 -202);
max (3500 1500 1500);
refineInside true;
level 3;
}
);


and the boundary is:



FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

6
(
block-mesh_BMMinX
{
type wall;
nFaces 7936;
startFace 2684744;
}
block-mesh_BMMaxX
{
type wall;
nFaces 7936;
startFace 2692680;
}
block-mesh_BMMinZ
{
type wall;
nFaces 14136;
startFace 2700616;
}
block-mesh_BMMaxZ
{
type wall;
nFaces 14136;
startFace 2714752;
}
block-mesh_BMMinY
{
type wall;
nFaces 7296;
startFace 2728888;
}
block-mesh_BMMaxY
{
type wall;
nFaces 7296;
startFace 2736184;
}
)

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


the blockMesh is:


FoamFile
{
version 2.1.2;
format ascii;
root "Y:/10_Studenten/UnsteadyAero/OpenFOAM_Validierung/Testing";
case "project2";
instance "";
local "";
class dictionary;
object blockMeshDict;
}

convertToMeters 1;
edges ();
mergePatchPairs() ;
vertices
(
(-26000 -31000 -1202)
(31000 -31000 -1202)
(31000 31000 -1202)
(-26000 31000 -1202)
(-26000 -31000 31000)
(31000 -31000 31000)
(31000 31000 31000)
(-26000 31000 31000)
);

blocks
(
hex
(
0
1
2
3
4
5
6
7
)
(114 124 64 )
simpleGrading
(1 1 1)
);

patches
(
wall
block-mesh_BMMinX
( (0 4 7 3 ) )
wall
block-mesh_BMMaxX
( (1 2 6 5 ) )
wall
block-mesh_BMMinZ
( (0 3 2 1 ) )
wall
block-mesh_BMMaxZ
( (4 5 6 7 ) )
wall
block-mesh_BMMinY
( (0 1 5 4 ) )
wall
block-mesh_BMMaxY
( (3 7 6 2 ) )
);



Ingenieur is offline   Reply With Quote

Old   April 5, 2013, 09:33
Default
  #4
Member
 
Mizo
Join Date: Jan 2013
Posts: 34
Rep Power: 13
Ingenieur is on a distinguished road
the boundary conditions are :




boundaryConditions
{
regionDefaults
{
walls
{
}
outlets
{
}
inlets
{
}
}
partialNamed
{
}
exactNamed
{
Windkanal_00_Ground
{
U
{
value uniform (80 0 0);
type fixedValue;
}
}
Windkanal_00_Inlet
{
U
{
value uniform (80 0 0);
type fixedValue;
}
nuTilda
{
type turbulentIL;
I 0.1;
L 0.01;
Uref 80;
}
}
Windkanal_00_Left_Side
{
nuSgs
{
type zeroGradient;
}
U
{
type slip;
}
}
Windkanal_00_Outlet
{
p
{
value uniform 0;
type fixedValue;
}
nuTilda
{
type turbulentIL;
I 0.1;
L 0.01;
Uref 80;
}
}
Windkanal_00_TOP
{
nuSgs
{
type zeroGradient;
}
U
{
type slip;
}
}
Windkanal_Right_Side
{
nuSgs
{
type zeroGradient;
}
U
{
type slip;
}
}
}
}
Ingenieur is offline   Reply With Quote

Old   April 7, 2013, 06:09
Default
  #5
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
Quote:
Originally Posted by Ingenieur View Post
the boundary conditions are :




boundaryConditions
{
regionDefaults
{
walls
{
}
outlets
{
}
inlets
{
}
}
partialNamed
{
}
exactNamed
{
Windkanal_00_Ground
{
U
{
value uniform (80 0 0);
type fixedValue;
}
}
Windkanal_00_Inlet
{
U
{
value uniform (80 0 0);
type fixedValue;
}
nuTilda
{
type turbulentIL;
I 0.1;
L 0.01;
Uref 80;
}
}
Windkanal_00_Left_Side
{
nuSgs
{
type zeroGradient;
}
U
{
type slip;
}
}
Windkanal_00_Outlet
{
p
{
value uniform 0;
type fixedValue;
}
nuTilda
{
type turbulentIL;
I 0.1;
L 0.01;
Uref 80;
}
}
Windkanal_00_TOP
{
nuSgs
{
type zeroGradient;
}
U
{
type slip;
}
}
Windkanal_Right_Side
{
nuSgs
{
type zeroGradient;
}
U
{
type slip;
}
}
}
}

Can you please upload your case file for reference? That would be much better.
Tushar@cfd is offline   Reply With Quote

Old   April 10, 2013, 07:06
Thumbs up
  #6
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
Quote:
Originally Posted by Ingenieur View Post
the boundary conditions are :




boundaryConditions
{
regionDefaults
{
walls
{
}
outlets
{
}
inlets
{
}
}
partialNamed
{
}
exactNamed
{
Windkanal_00_Ground
{
U
{
value uniform (80 0 0);
type fixedValue;
}
}
Windkanal_00_Inlet
{
U
{
value uniform (80 0 0);
type fixedValue;
}
nuTilda
{
type turbulentIL;
I 0.1;
L 0.01;
Uref 80;
}
}
Windkanal_00_Left_Side
{
nuSgs
{
type zeroGradient;
}
U
{
type slip;
}
}
Windkanal_00_Outlet
{
p
{
value uniform 0;
type fixedValue;
}
nuTilda
{
type turbulentIL;
I 0.1;
L 0.01;
Uref 80;
}
}
Windkanal_00_TOP
{
nuSgs
{
type zeroGradient;
}
U
{
type slip;
}
}
Windkanal_Right_Side
{
nuSgs
{
type zeroGradient;
}
U
{
type slip;
}
}
}
}

You do check your blockMesh file, I think there you are mistaking.
Try to find the inlet/outlet patches and wall patch, and try to co-relate the code with boundary conditions.
Tushar@cfd is offline   Reply With Quote

Old   April 10, 2013, 07:16
Smile
  #7
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
Quote:
Originally Posted by Ingenieur View Post
Hi Tushar,


and the boundary is:



FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

6
(
block-mesh_BMMinX
{
type wall;
nFaces 7936;
startFace 2684744;
}
block-mesh_BMMaxX
{
type wall;
nFaces 7936;
startFace 2692680;
}
block-mesh_BMMinZ
{
type wall;
nFaces 14136;
startFace 2700616;
}
block-mesh_BMMaxZ
{
type wall;
nFaces 14136;
startFace 2714752;
}
block-mesh_BMMinY
{
type wall;
nFaces 7296;
startFace 2728888;
}
block-mesh_BMMaxY
{
type wall;
nFaces 7296;
startFace 2736184;
}
)

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


the blockMesh is:


FoamFile
{
version 2.1.2;
format ascii;
root "Y:/10_Studenten/UnsteadyAero/OpenFOAM_Validierung/Testing";
case "project2";
instance "";
local "";
class dictionary;
object blockMeshDict;
}

convertToMeters 1;
edges ();
mergePatchPairs() ;
vertices
(
(-26000 -31000 -1202)
(31000 -31000 -1202)
(31000 31000 -1202)
(-26000 31000 -1202)
(-26000 -31000 31000)
(31000 -31000 31000)
(31000 31000 31000)
(-26000 31000 31000)
);

blocks
(
hex
(
0
1
2
3
4
5
6
7
)
(114 124 64 )
simpleGrading
(1 1 1)
);

patches
(
wall
block-mesh_BMMinX
( (0 4 7 3 ) )
wall
block-mesh_BMMaxX
( (1 2 6 5 ) )
wall
block-mesh_BMMinZ
( (0 3 2 1 ) )
wall
block-mesh_BMMaxZ
( (4 5 6 7 ) )
wall
block-mesh_BMMinY
( (0 1 5 4 ) )
wall
block-mesh_BMMaxY
( (3 7 6 2 ) )
);




I mean to say in my earlier thread, that you need to change the above code lines which you have written..

Best of luck..
Tushar@cfd is offline   Reply With Quote

Reply

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
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 05:13
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 15 May 1, 2016 17:12
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
Problem with SimpleFoam for a solution around an OneraM6 wing gara1988 OpenFOAM Running, Solving & CFD 3 November 13, 2012 06:47


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