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

[blockMesh] Meshing this plate with cyclic boundary conditions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2019, 08:18
Post Meshing this plate with cyclic boundary conditions
  #1
New Member
 
Thomas
Join Date: Jul 2018
Posts: 16
Rep Power: 7
Roxxor91 is on a distinguished road
Hello everyone

I want to mesh a thin plate in the x-y plane and apply cyclic/periodic boundary conditions for each of my internal fields. Then I would like to use a compressible solver dbnsFoam (p, T, U) to move a vortex. I am trying to reproduce the results in that paper: https://dl.acm.org/citation.cfm?id=3067565, section 7.5.

Here is my 'blockMeshDict'

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | foam-extend: Open Source CFD                    |
|  \\    /   O peration     | Version:     4.0                                |
|   \\  /    A nd           | Web:         http://www.foam-extend.org         |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(
    (0 0 0)
    (10 0 0)
    (10 10 0)
    (0 10 0)
    (0 0 1)
    (10 0 1)
    (10 10 1)
    (0 10 1)
);

blocks
(
    hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
    inlet 
    {
      faces ((0 4 7 3));
      type cyclic;
      neighbourPatch outlet;
    }
    outlet 
    {
      faces ((2 6 5 1));
      type cyclic;
      neighbourPatch inlet;
    }
    bottom 
    {
      faces ((1 5 4 0));
      type cyclic;
      neighbourPatch top;
    }
    top 
    {
      faces ((3 7 6 2));
      type cyclic;
      neighbourPatch bottom;
    }
    left
    {
      faces  ((0 3 2 1));
      type wall;//cyclic;
      //neighbourPatch right;
    }
    right
    {
      faces ((4 5 6 7));
      type wall;//cyclic;
      //neighbourPatch left;
    }
);

mergePatchPairs
(
);


// ************************************************************************* //
and here is my error message

Code:
Creating block mesh from
    "./shockTube/constant/polyMesh/blockMeshDict"

Creating curved edges
Creating topology blocks
Creating topology patches

Creating block mesh topology
Segmentation fault (core dumped)
I am using foam-extend-4.0 on Linux Mint 18.

Can you help me figure out what is wrong in this piece of code ?

Thanks

Thomas
Roxxor91 is offline   Reply With Quote

Reply

Tags
blockmesh, cyclic, dbns, foam-extend, openfoam

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
Cyclic boundary condition in foam-extend 4.0 rellumeister OpenFOAM Pre-Processing 2 March 3, 2020 09:03
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 18:30
Flat plate and Boundary conditions Ravenn FLUENT 1 March 10, 2013 19:39
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


All times are GMT -4. The time now is 17:05.