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

self-imported Mesh solved by icoFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2024, 00:56
Default self-imported Mesh solved by icoFoam
  #1
New Member
 
Tianyang Fang
Join Date: Mar 2024
Posts: 1
Rep Power: 0
FangTianyang is on a distinguished road
Hello guys,

I am really new to OPENFOAM. I made a 3-D mesh in Pointwise and exported into the following form as can be seen in the attachment. I just realized that there is no pointZone file in the exported polyMesh and I don't know if that affects the running of icoFoam.

the boundary file looks like the following:

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

5
(
Buttom
{
type wall;
nFaces 244000;
startFace 72814000;
}
Top
{
type wall;
nFaces 244000;
startFace 73058000;
}
Wall
{
type wall;
nFaces 244000;
startFace 73302000;
}
inlet
{
type patch;
nFaces 20000;
startFace 73546000;
}
outlet
{
type patch;
nFaces 20000;
startFace 73566000;
}
)

and I revised p and U file according to my boundary file as this:

p file:

| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2106 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 0;

boundaryField
{
Top
{
type zeroGradient;
}

Wall
{
type zeroGradient;
}

Buttom
{
type zeroGradient;
}

inlet
{
type zeroGradient;
}

outlet
{
type fixedValue;
value uniform 0;
}
}


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

and the U file looks like this:

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 (0 -5 0);
}

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

Top
{
type zeroGradient;
}

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

outlet
{
type zeroGradient;
}
}


after that, I have created a file called All which include only the command icoFoam. So I expect that when every time I submit the ./All, icoFoam will run.

and it turns out to be this:


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

Create mesh for time = 0


PISO: Operating solver in PISO mode

Reading transportProperties

Reading field p

Reading field U

Reading/calculating face flux field phi


Starting time loop

Time = 0.005

Courant Number mean: 0.000130326 max: 0.00887154
smoothSolver: Solving for Ux, Initial residual = 0, Final residual = 0, No Iterations 0



after the that the machine exceed maximum time of running and automatically shut the process.

If you have any suggestions or even just some keyword you would like to share with me. Please feel free to contact me. Thank you sooooooo much.

Best,
Tianyang
Attached Images
File Type: png Screen Shot 2024-03-04 at 14.43.39.png (34.8 KB, 4 views)
FangTianyang 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
flow over cylinder in openFoam saeed jamshidi OpenFOAM Pre-Processing 3 August 11, 2023 15:16
[snappyHexMesh] SnappyHexMesh/splitMeshRegion : region1 in zone "-1" GuiMagyar OpenFOAM Meshing & Mesh Conversion 3 August 4, 2023 12:38
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


All times are GMT -4. The time now is 09:47.