CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   error in biconic25-55run35 tutorial case (http://www.cfd-online.com/Forums/openfoam-solving/119380-error-biconic25-55run35-tutorial-case.html)

immortality June 16, 2013 06:47

error in biconic25-55run35 tutorial case
 
why the original case doesn't execute?
Code:

Case  : /home/ehsan/Desktop/biconic25-55Run35
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

Create mesh for time = 0

Reading thermophysical properties

Selecting thermodynamics package
{
    type            hePsiThermo;
    mixture        pureMixture;
    transport      sutherland;
    thermo          janaf;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleInternalEnergy;
}



--> FOAM FATAL IO ERROR:

    patch type 'patch' not constraint type 'wedge'
    for patch wedge1 of field p in file "/home/ehsan/Desktop/biconic25-55Run35/0/p"

file: /home/ehsan/Desktop/biconic25-55Run35/0/p.boundaryField.wedge1 from line 32431 to line 32431.

    From function wedgeFvPatchField<Type>::wedgeFvPatchField
(
    const fvPatch& p,
    const Field<Type>& field,
    dictionary& dict
)

    in file fields/fvPatchFields/constraint/wedge/wedgeFvPatchField.C at line 99.

FOAM exiting


wyldckat June 16, 2013 09:06

Hi Ehsan,

Works fine for me and I tested with OpenFOAM 2.2.0. Perhaps you accidentally modified a file or perhaps you didn't run Allrun?

Best regards,
Bruno

immortality June 16, 2013 09:24

thanks.
I run it by ./Allrun now
whats the callaoseDict?I can't understand this case.

wyldckat June 16, 2013 10:52

Do you mean "collapseEdgesDict"? It's for collapseEdges:
Quote:

Code:

$ collapseEdges -help

Usage: collapseEdges [OPTIONS]
options:
  -case <dir>      specify alternate case directory, default is the cwd
  -collapseFaces    Collapse small and sliver faces as well as small edges
  -collapseIndirectPatchFaces
                    Collapse faces that are in the face zone indirectPatchFaces
  -constant        include the 'constant/' dir in the times list
  -latestTime      select the latest time
  -noFunctionObjects
                    do not execute functionObjects
  -noZero          exclude the '0/' dir from the times list, has precedence
                    over the -zeroTime option
  -overwrite        overwrite existing mesh/results files
  -parallel        run in parallel
  -roots <(dir1 .. dirN)>
                    slave root directories for distributed running
  -time <ranges>    comma-separated time ranges - eg, ':10,20,40:70,1000:'
  -srcDoc          display source code in browser
  -doc              display application documentation in browser
  -help            print the usage

Collapses small edges to a point.
Optionally collapse small faces to a point and thin faces to an edge.

Using: OpenFOAM-2.2.0 (see www.OpenFOAM.org)
Build: 2.2.0-5be49240882f


There isn't much to understand on this case. The biggest complication is only related to how the mesh had to be converted from "dat" format to OpenFOAM format.
The other detail that's different from other tutorials is that the internal fields are already initialized with an almost resolved case. Check the file "README" to see what I mean.

immortality June 16, 2013 10:59

thanks.then collapseEdges is for something like modyfing mesh.
another question occurs that what is the role of blockMesh here when the points are specified in dat file.

wyldckat June 16, 2013 11:03

Here you go: http://www.cfd-online.com/Forums/ope...rmat-help.html
edit: I believe I explained this on that thread.


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