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

[Salome] Create CellZones in an UNV Mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 28, 2014, 16:31
Default Create CellZones in an UNV Mesh
  #1
New Member
 
Esteban Vargas
Join Date: Jul 2014
Location: Medellin, Colombia
Posts: 8
Rep Power: 12
vbesteban is on a distinguished road
Hi.

I'm working in a propeller simulation. But I have several problems to create my cellZones dict to generate the rotation in my case.

I'm working with simpleFoam, and generate the rotation with MRFZones in my fvOptions dict in System folder, but I don't really know how to create my cellZones.

I've already generated my mesh in salome, and then exported into OF, but this export doesn't generate any cellZone. In salome I just generate a mesh waiting for create my cellzones in OF. I'm looking for rotate the propeller.

I attach the file of my case.

https://www.dropbox.com/s/nu6d9v4fsm...er.tar.gz?dl=0
vbesteban is offline   Reply With Quote

Old   October 28, 2014, 16:38
Default Using OF 2.3
  #2
New Member
 
Esteban Vargas
Join Date: Jul 2014
Location: Medellin, Colombia
Posts: 8
Rep Power: 12
vbesteban is on a distinguished road
An additional comment, I'm using OF 2.3
vbesteban is offline   Reply With Quote

Old   June 7, 2019, 14:47
Default
  #3
New Member
 
spike
Join Date: Mar 2019
Posts: 5
Rep Power: 7
spikespigel is on a distinguished road
Quote:
Originally Posted by vbesteban View Post
Hi.

I'm working in a propeller simulation. But I have several problems to create my cellZones dict to generate the rotation in my case.

I'm working with simpleFoam, and generate the rotation with MRFZones in my fvOptions dict in System folder, but I don't really know how to create my cellZones.

I've already generated my mesh in salome, and then exported into OF, but this export doesn't generate any cellZone. In salome I just generate a mesh waiting for create my cellzones in OF. I'm looking for rotate the propeller.

I attach the file of my case.

https://www.dropbox.com/s/nu6d9v4fsm...er.tar.gz?dl=0
good afternoon

I have the same problem, could you solve it?

I really appreciate your help
spikespigel is offline   Reply With Quote

Old   June 10, 2019, 23:18
Default
  #4
New Member
 
Yehezkiel Wiliardy
Join Date: Feb 2018
Location: Singapore
Posts: 9
Rep Power: 8
yewi is on a distinguished road
i usually use MRFproperties inside the constant folder instead

it looks something like this

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

rotor
{
    cellZone    rotor;
    active      yes;

    // Fixed patches (by default they 'move' with the MRF zone)
    nonRotatingPatches ();

    origin    (0 0 0);
    axis      (0 0 1); //axis of rotation
    omega     constant 1047.2; //rotation in rad/s
}


// ************************************************************************* //
also in your snappyHexMeshDict, you can specify this rotating zone as follow

Code:
geometry
{
rotor
    {
        type            searchableCylinder;
        point1          (0 0 0); //start of zone center
        point2          (0 0 1); //height of zone 
        radius          3.00; //radius of zone
    }
}

//modify this to setup your zone 
castellatedMeshControls
{
    refinementSurfaces
    {
        rotor
        {
            level           (7 8);
            faceType        internal;
            cellZone        rotor;
            faceZone        rotor;
            cellZoneInside  inside;
        }
   }
}

cheers,
yewi
yewi is offline   Reply With Quote

Old   June 17, 2022, 13:46
Default
  #5
New Member
 
Join Date: Apr 2022
Posts: 9
Rep Power: 4
aeronerd is on a distinguished road
Doesn't the use of snappyHexMeshDict imply that this cellzone will only be created if the geometry is meshed with snappy hex mesh? I too would like to import a mesh from Salome and define the MRF cellzone for purposes of spinning a propeller.

Or does this leave the mesh untouched, but use snappyHexMesh somehow to only define a cellzone?
aeronerd is offline   Reply With Quote

Old   June 18, 2022, 16:01
Default
  #6
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
linnemann will become famous soon enough
If you want to use Salome for multizone meshing you can follow this tutorial.


https://www.youtube.com/watch?v=NYEU6ALOtJk


Key is to have a compound of solids that create "Groups of Volumes".
ideasUnvToFoam will use those groups to create cellZones.
Attached Images
File Type: png 2022-06-18 21_01_13-Window.png (34.9 KB, 12 views)
File Type: png 2022-06-18 21_00_22-Window.png (5.9 KB, 11 views)
File Type: png 2022-06-18 21_00_09-Window.png (5.8 KB, 9 views)
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann 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
SonicFoam tuto nacaAirfoil steadystate Dorian1504 OpenFOAM Running, Solving & CFD 10 October 11, 2017 18:05
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 10:03
Where's the singularity/mesh flaw? audrich FLUENT 3 August 4, 2009 02:07


All times are GMT -4. The time now is 00:31.