|
[Sponsors] |
Some errors occurred in my work. Somebody can help me? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 18, 2011, 13:07 |
Some errors occurred in my work. Somebody can help me?
|
#1 |
New Member
Yang
Join Date: May 2011
Posts: 5
Rep Power: 15 |
I am a new guy who just begin to use openfoam. I want to compute a supersonic external flow field. But the system show some message like this:
/------------------------------------------------------------------------ Create time Create mesh for time = 0 Reading thermophysical properties Selecting thermodynamics package ePsiThermo<pureMixture<constTransport<specieThermo <eConstThermo<perfectGas>>>>> --> FOAM FATAL IO ERROR: Unknown patchField type patch for patch type patch ...... ----------------------------------------------------------------------/ and this: /----------------------------------------------------------------------------------------------- ...... file: /opt/openfoam171/CFD_Work/supersonic/0/p::boundaryField:: pressure_far_field.1 from line 37 to line 38. From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&) in file /opt/openfoam171/src/finiteVolume/lnInclude/newFvPatchField.C at line 110. FOAM exiting -------------------------------------------------------------------------------------------/ This is my p boundary condition define file: /-------------------------------------------------------------------------------------------- ...... FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 100000; boundaryField { symmetry.3 { type symmetryPlane; value uniform 100000; } wall.2 { type zeroGradient; value uniform 100000; } pressure_far_field.1 { type patch; value uniform 100000; } } ----------------------------------------------------------------------------/ I must made some mistake. Thanks to the person who can help me first. PS: I am a chinese and my english is poor. |
|
May 18, 2011, 15:50 |
|
#2 |
Senior Member
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16 |
Try 'fixedValue' in place of 'patch' for the far field pressure.
Just my 2 cents. |
|
May 19, 2011, 01:28 |
|
#3 |
New Member
Yang
Join Date: May 2011
Posts: 5
Rep Power: 15 |
I do as what you said. But another error occured:
/----------------------------------------------------------------------------- Create time Create mesh for time = 0 Reading thermophysical properties Selecting thermodynamics package ePsiThermo<pureMixture<constTransport<specieThermo <eConstThermo<perfectGas>>>>> Reading field U Reading/calculating face flux field phi Creating turbulence model Selecting turbulence model type RASModel Selecting RAS turbulence model kEpsilon kEpsilonCoeffs { Cmu 0.09; C1 1.44; C2 1.92; C3 -0.33; sigmak 1; sigmaEps 1.3; Prt 1; } Starting time loop --> FOAM Warning : From function polyBoundaryMesh:: patchSet(const wordList&) in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 427 Cannot find any patch names matching WALL10 --> FOAM Warning : From function polyBoundaryMesh:: patchSet(const wordList&) in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 427 Cannot find any patch names matching WALL10 Time = 4e-08 Courant Number mean: 0.00146352 max: 0.0281244 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 new cannot satisfy memory request. This does not necessarily mean you have run out of virtual memory. It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library -----------------------------------------------------------------------------/ Can you tell me what this mean? Thanks! |
|
May 19, 2011, 14:35 |
|
#4 |
Senior Member
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16 |
Are you using bockMesh to create the mesh?
The patch names in the mesh and the boundary conditions are inconsistent. If you have names the patches as say patch1, patch2... etc in the mesh, you need to use the same names in the boundary conditions for T, p, etc. |
|
May 20, 2011, 01:13 |
|
#5 |
New Member
Yang
Join Date: May 2011
Posts: 5
Rep Power: 15 |
I don't use blockMesh. I made Mesh by Gambit and turn it into openfoam.
this is the boundary file: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.7.x | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class polyBoundaryMesh; location "constant/polyMesh"; object boundary; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 3 ( symmetry.3 { type symmetryPlane; nFaces 104325; startFace 7697689; } wall.2 { type wall; nFaces 18761; startFace 7802014; } pressure_far_field.1 { type patch; nFaces 4661; startFace 7820775; } ) // ************************************************** *********************** // |
|
May 26, 2011, 06:25 |
|
#6 |
New Member
Yang
Join Date: May 2011
Posts: 5
Rep Power: 15 |
how shall I do? It confused me.
|
|
May 30, 2011, 13:50 |
|
#7 |
New Member
Yang
Join Date: May 2011
Posts: 5
Rep Power: 15 |
Create time
Create mesh for time = 0 Reading thermophysical properties Selecting thermodynamics package ePsiThermo<pureMixture<constTransport<specieThermo <eConstThermo<perfectGas>>>>> Reading field U Reading/calculating face flux field phi Creating turbulence model Selecting turbulence model type RASModel Selecting RAS turbulence model kEpsilon --> FOAM Warning : From function Field<Type>::Field(const word& keyword, const dictionary&, const label) in file /opt/openfoam171/src/OpenFOAM/lnInclude/Field.C at line 262 Reading "/opt/openfoam171/CFD_Work/supersonic/0/k::boundaryField: pressure_far_field.1" from line 36 to line 38 expected keyword 'uniform' or 'nonuniform', assuming deprecated Field format from Foam version 2.0. kEpsilonCoeffs { Cmu 0.09; C1 1.44; C2 1.92; C3 -0.33; sigmak 1; sigmaEps 1.3; Prt 1; } Starting time loop Time = 1e-07 Courant Number mean: 0.00365879 max: 0.0703111 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 new cannot satisfy memory request. This does not necessarily mean you have run out of virtual memory. It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library /--------------------------------------------------------------------------------------------------------------------------------/ The memory of my computer is not enough? Last edited by titianyang; June 2, 2011 at 01:16. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 13:21 |
SLTS+rhoPisoFoam: what is rDeltaT??? | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | February 25, 2013 04:13 |
OpenFoam 1.6-ext - RPM build errors | preibie | OpenFOAM | 12 | September 8, 2011 03:12 |
Several Inexplicable Errors | Josh | CFX | 7 | October 23, 2010 17:24 |
Fluent errors | Stan Cornhole | FLUENT | 2 | September 23, 2002 08:08 |