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

OF v1612+ boundary mesh definitions versus 0 folder

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2019, 16:52
Default OF v1612+ boundary mesh definitions versus 0 folder
  #1
New Member
 
B. Assaad
Join Date: Sep 2014
Posts: 14
Rep Power: 8
bassaad17 is on a distinguished road
Hi Folks,

I'm having an issue that I can't figure out how to solve. I'm using Grasshopper/Butterfly to create a first pass of my OF Case setup for v1612+.

I'm simulating wind flow in an urban environment for tall buildings. I have a 6 sided cube with the flow direction incoming form the North (negative y axis).

I'm able to run blockMesh, checkMesh, surfaceFeatureExtract, decomposePar, snappyHexMesh (24 cpu's), reconstructParMesh .. When I go to run decomposePar I receive this FOAM FATAL IO ERROR

Code:
Time = 0


--> FOAM FATAL IO ERROR:

    patch type 'wall' not constraint type 'symmetry'
    for patch Side_270 of field k in file "/Projects/TestCase/Run_N_01-2/0/k"

file: /Projects/TestCase/Run_N_01-2/0/k.boundaryField.Side_270 from line 36 to line 36.

    From function Foam::symmetryFvPatchField<Type>::symmetryFvPatchField(const Foam::fvPatch&, const Foam::DimensionedField<Type, Foam::volMesh>&, const Foam::dictionary&) [with Type = double]
    in file fields/fvPatchFields/constraint/symmetry/symmetryFvPatchField.C at line 56.

FOAM exiting
My 0/k is defined as follows:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v1612+                                |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/* Butterfly 0.0.4                https://github.com/ladybug-tools/butterfly *\
\*---------------------------------------------------------------------------*/
FoamFile
{
	version		4.0;
	format		ascii;
	class		volScalarField;
	location	"0";
	object		k;
}

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

internalField		uniform 0.02;

boundaryField
{

    Top
    {

        type		slip;

    }

    Side_270
    {

        type		symmetry;


    }

    Side_180
    {

        type		zeroGradient;


    }

    Terraces
    {

        type		kqRWallFunction;

        value		$internalField;

    }

    Far_Ground
    {

        type		kqRWallFunction;

        value		$internalField;

    }

    Close_Buildings_and_Target
    {

        type		kqRWallFunction;

        value		$internalField;

    }

    Surroundings
    {

        type		kqRWallFunction;

        value		$internalField;

    }

    Side_090
    {

        type		symmetry;


    }

    Side_000
    {

        type		fixedValue;

        value		$internalField;

    }

    Close_Ground
    {

        type		kqRWallFunction;

        value		$internalField;

    }

}
I was able to identify that the constant/polyMesh boundary file has everything define as walls - and that must be the source of the error

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v1612+                                |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       polyBoundaryMesh;
    location    "constant/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

11
(
    boundingbox
    {
        type            wall;
        inGroups        1(wall);
        nFaces          11;
        startFace       50471483;
    }
    Side_000
    {
        type            wall;
        inGroups        1(wall);
        nFaces          22930;
        startFace       50471494;
    }
    Side_180
    {
        type            wall;
        inGroups        1(wall);
        nFaces          22930;
        startFace       50494424;
    }
    Side_090
    {
        type            wall;
        inGroups        1(wall);
        nFaces          22930;
        startFace       50517354;
    }
    Side_270
    {
        type            wall;
        inGroups        1(wall);
        nFaces          22930;
        startFace       50540284;
    }
    Terraces
    {
        type            wall;
        inGroups        1(wall);
        nFaces          33879;
        startFace       50563214;
    }
    _53StateStMesh018_Close_Ground
    {
        type            wall;
        inGroups        1(wall);
        nFaces          50197;
        startFace       50597093;
    }
    _53StateStMesh018_Far_Ground
    {
        type            wall;
        inGroups        1(wall);
        nFaces          62431;
        startFace       50647290;
    }
    Top
    {
        type            wall;
        inGroups        1(wall);
        nFaces          68073;
        startFace       50709721;
    }
    Close_Buildings_and_Target
    {
        type            wall;
        inGroups        1(wall);
        nFaces          152814;
        startFace       50777794;
    }
    Surroundings
    {
        type            wall;
        inGroups        1(wall);
        nFaces          205497;
        startFace       50930608;
    }
)

// ************************************************************************* //
What do I need to be doing to make sure that the 'boundary' file is picking up the right conditions as defined in my k, nut, omega, p, U files in the 0 folder.

Please advise. Thank you.
bassaad17 is offline   Reply With Quote

Old   April 27, 2019, 09:24
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,926
Rep Power: 35
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

You can use changeDictionary utility to change boundary file. Set type of Side_090 and Side_270 to symmetryPlane. Alternatively, you can edit boundary file by hand.
alexeym is offline   Reply With Quote

Old   May 2, 2019, 10:59
Default
  #3
New Member
 
B. Assaad
Join Date: Sep 2014
Posts: 14
Rep Power: 8
bassaad17 is on a distinguished road
Hi alexeym ... I ended up manually editing the 'boundary' file by assigning its proper conditions and the model kicked off fine using simpleFoam thereafter. Thank you.

BA
bassaad17 is offline   Reply With Quote

Reply

Tags
boundary, butterfly, openfoam, v1612+

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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
3D Windturbine simulation in SU2 k.vimalakanthan SU2 14 February 8, 2019 14:43
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 10:20
[ICEM] 3D Dynamic Mesh - Boundary layer mesh issues nathanricks ANSYS Meshing & Geometry 0 September 23, 2015 05:14


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