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

problem with import mesh to openfoam and pached

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2015, 14:11
Default problem with import mesh to openfoam and pached
  #1
Member
 
hssn
Join Date: Mar 2015
Posts: 31
Rep Power: 11
hssnjfry is on a distinguished road
hi friend
i use the salome to create geometry and meshed.i created group in geometry and mesh part.
picture


now i copy unv file to folder in tutorials/incompressible and then add 0 and system file from cavity folder and change the boundaryField like below
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
train
{
type zeroGradient;
}

inlet
{
type zeroGradient;
}

outlet
{
type fixedValue;
value uniform 0;
}

topbottom
{
type zeroGradient;
}

frontback
{
type empty;
}
}

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

and for u like below

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
inlet
{
type fixedValue;
value uniform (1 0 0);
}

wall
{
type fixedValue;
value uniform (0 0 0);
}

outlet
{
type fixedValue;
value uniform (0 0 0);
}

topbottom
{
type fixedValue;
value uniform (0 0 0);
}


frontback
{
type empty;
}
}

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

now run terminal and run ideasUnvToFoam Mesh_1.unv sayed like that

run/tutorials/incompressible/icoFoam/train$ ideasUnvToFoam Mesh_1.unv
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.4.0-f0842aea0e77
Exec : ideasUnvToFoam Mesh_1.unv
Date : Sep 29 2015
Time : 20:03:41
Host : "hssn"
PID : 5845
Case : /home/hssn/OpenFOAM/hssn-2.4.0/run/tutorials/incompressible/icoFoam/train
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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

Processing tag:164
Starting reading units at line 3.
l:1
units:" SI: Meter (newton)"
unitType:2
Unit factors:
Length scale : 1
Force scale : 1
Temperature scale : 1
Temperature offset : 273.15


Processing tag:2420
Skipping tag 2420 on line 9
Skipping section at line 9.

Processing tag:2411
Starting reading points at line 20.
Read 395921 points.

Processing tag:2412
Starting reading cells at line 791865.
First occurrence of element type 11 for cell 1 at line 791866
First occurrence of element type 41 for cell 1891 at line 809506
Read 0 cells and 791842 boundary faces.

Processing tag:2467
Starting reading patches at line 2393192.
For group 1 named inlet trying to read 264 patch face indices.
For group 2 named outlet trying to read 264 patch face indices.
For group 4 named train trying to read 90866 patch face indices.
For group 6 named topbottom trying to read 196 patch face indices.
For group 7 named frontback trying to read 700252 patch face indices.

Sorting boundary faces according to group (patch)
0: inlet is #0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 ? at ??:?
#4 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#5 ? at ??:?
Segmentation fault (core dumped)


this errore why happened and what shuod i do please help me?
hssnjfry 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



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