|
[Sponsors] |
OF v1612+ boundary mesh definitions versus 0 folder |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 26, 2019, 17:52 |
OF v1612+ boundary mesh definitions versus 0 folder
|
#1 |
New Member
B. Assaad
Join Date: Sep 2014
Posts: 14
Rep Power: 12 |
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 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; } } 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; } ) // ************************************************************************* // Please advise. Thank you. |
|
April 27, 2019, 10:24 |
|
#2 |
Senior Member
|
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. |
|
May 2, 2019, 11:59 |
|
#3 |
New Member
B. Assaad
Join Date: Sep 2014
Posts: 14
Rep Power: 12 |
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 |
|
Tags |
boundary, butterfly, openfoam, v1612+ |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3D Windturbine simulation in SU2 | k.vimalakanthan | SU2 | 15 | October 12, 2023 06:53 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 18:38 |
Out File does not show Imbalance in % | Mmaragann | CFX | 5 | January 20, 2017 11:20 |
[ICEM] 3D Dynamic Mesh - Boundary layer mesh issues | nathanricks | ANSYS Meshing & Geometry | 0 | September 23, 2015 06:14 |