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

[Commercial meshers] Import geometry from AnsysMeshing with multi block

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2017, 04:39
Post Import geometry from AnsysMeshing with multi block
  #1
New Member
 
Julien P
Join Date: Jan 2017
Location: France
Posts: 3
Rep Power: 9
Ptiji is on a distinguished road
Good morning,
I have a problem maybe with the conversion of mesh. It is imported from Ansys Meshing.
Here is my mesh :




As you can see, there are interfaces in the fluid-interior. To correct this problem, I modified the end of file .msh :

Code:
b74b b7a2 b776 15d45 0  
b72c b7a1 b799 1676e 0  
b796 b7a2 b72f 15c90 0  
 
)) 
(12 (2 1 4337d 1 2)) 
(45 (1 interior interior-solide)()) 
(45 (2 fluid solide)()) 
(45 (5 wall wall)()) 
(45 (6 symmetry symmetryplane)()) 
(45 (7 pressure-outlet outlet)()) 
(45 (8 velocity-inlet inlet)()) 
(45 (9 pressure-outlet outletwater)()) 
(45 (10 interface zone_de_contact-src)())
(45 (11 interface zone_de_contact-trg)()) 
(45 (12 interface zone_de_contact_2-src)()) 
(45 (13 interface zone_de_contact_2-trg)()) 
(45 (14 interface zone_de_contact_3-src)()) 
(45 (15 interface zone_de_contact_3-trg)()) 
(45 (16 interface zone_de_contact_4-src)()) 
(45 (17 interface zone_de_contact_4-trg)()) 
(0 Variables:) 
(37 ( 
(sliding-interfaces ( 
(zone_de_contact(sb1-id 10) (sb2-id 11) (interior-id 0) (bnd1-id 0) (bnd2-id 0) (periodic . #f) (coupled . #f) (face-periodic . #f)) 
(zone_de_contact_2(sb1-id 12) (sb2-id 13) (interior-id 0) (bnd1-id 0) (bnd2-id 0) (periodic . #f) (coupled . #f) (face-periodic . #f)) 
(zone_de_contact_3(sb1-id 14) (sb2-id 15) (interior-id 0) (bnd1-id 0) (bnd2-id 0) (periodic . #f) (coupled . #f) (face-periodic . #f)) 
(zone_de_contact_4(sb1-id 16) (sb2-id 17) (interior-id 0) (bnd1-id 0) (bnd2-id 0) (periodic . #f) (coupled . #f) (face-periodic . #f)) 
)) 
))
by

Code:
b74b b7a2 b776 15d45 0  
b72c b7a1 b799 1676e 0  
b796 b7a2 b72f 15c90 0  
 
)) 
(12 (2 1 4337d 1 2)) 
(45 (1 interior interior-solide)()) 
(45 (2 fluid solide)()) 
(45 (5 wall wall)()) 
(45 (6 symmetry symmetryplane)()) 
(45 (7 pressure-outlet outlet)()) 
(45 (8 velocity-inlet inlet)()) 
(45 (9 pressure-outlet outletwater)()) 
))
And after I convert the file thanks to
Code:
fluentMeshToFoam file.msh
After that I modified boundary for my problem (after check patch name on paraview):

Code:
//6
5
(
    wall
    {
        type            wall;
        inGroups        1(wall);
        nFaces          16430;
        startFace       534639;
    }
    symmetryplane
    {
        type            symmetryPlane;
        inGroups        1(symmetryPlane);
        nFaces          6198;
        startFace       551069;
    }
    outlet
    {
        type            patch;
        nFaces          129;
        startFace       557267;
    }
    inlet
    {
        type            patch;
        nFaces          129;
        startFace       557396;
    }
    outletwater
    {
        type            wall;
        inGroups        1(wall);
        nFaces          124;
        startFace       557525;
    }
//    default_wall
//    {
//        type            wall;
//        inGroups        1(wall);
//        nFaces          9012;
//        startFace       557649;
//    }
)
I checked and corrected the name of patch on every file in folder 0.

After that I ran simpleFoam and I have this message :
Code:
User@user:~/OpenFOAM-in-Box-16.10/OpenFOAM-3.0.x/tutorials/incompressible/simpleFoam/boitier_maillagefin2$ simpleFoam 
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  3.0.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 3.0.x-4b5e129783d9
Exec   : simpleFoam
Date   : Jan 31 2017
Time   : 10:02:16
Host   : "julien-X556UQK"
PID    : 2980
Case   : /home/julien/OpenFOAM-in-Box-16.10/OpenFOAM-3.0.x/tutorials/incompressible/simpleFoam/boitier_maillagefin2
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0


SIMPLE: convergence criteria
    field p     tolerance 0.01
    field U     tolerance 0.001
    field "(k|epsilon|omega|f|v2)"     tolerance 0.001

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model kEpsilon
No MRF models present

No finite volume options present


Starting time loop

streamLine streamLines:
    automatic track length specified through number of sub cycles : 5

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigSegv::sigHandler(int) at ??:?
#2  ? in "/lib/x86_64-linux-gnu/libpthread.so.0"
#3  Foam::polyMeshTetDecomposition::findFaceBasePts(Foam::polyMesh const&, double, bool) at ??:?
#4  Foam::polyMesh::tetBasePtIs() const at ??:?
#5  Foam::Cloud<Foam::passiveParticle>::initCloud(bool) at ??:?
#6  Foam::passiveParticleCloud::passiveParticleCloud(Foam::polyMesh const&, Foam::word const&, bool) at ??:?
#7  Foam::uniformSet::calcSamples(Foam::DynamicList<Foam::Vector<double>, 0u, 2u, 1u>&, Foam::DynamicList<int, 0u, 2u, 1u>&, Foam::DynamicList<int, 0u, 2u, 1u>&, Foam::DynamicList<int, 0u, 2u, 1u>&, Foam::DynamicList<double, 0u, 2u, 1u>&) const at ??:?
#8  Foam::uniformSet::genSamples() at ??:?
#9  Foam::uniformSet::uniformSet(Foam::word const&, Foam::polyMesh const&, Foam::meshSearch const&, Foam::dictionary const&) at ??:?
#10  Foam::sampledSet::addwordConstructorToTable<Foam::uniformSet>::New(Foam::word const&, Foam::polyMesh const&, Foam::meshSearch const&, Foam::dictionary const&) at ??:?
#11  Foam::sampledSet::New(Foam::word const&, Foam::polyMesh const&, Foam::meshSearch const&, Foam::dictionary const&) at ??:?
#12  Foam::streamLine::read(Foam::dictionary const&) at ??:?
#13  Foam::streamLine::streamLine(Foam::word const&, Foam::objectRegistry const&, Foam::dictionary const&, bool) at ??:?
#14  Foam::OutputFilterFunctionObject<Foam::streamLine>::allocateFilter() at ??:?
#15  Foam::OutputFilterFunctionObject<Foam::streamLine>::start() at ??:?
#16  Foam::functionObjectList::read() at ??:?
#17  Foam::Time::loop() at ??:?
#18  Foam::simpleControl::loop() at ??:?
#19  ? at ??:?
#20  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#21  ? at ??:?
Erreur de segmentation (core dumped)
I don't know if the mistakes are from the importation of mesh or from the solving.

I already did a solving with the same geometry but with only one block and I didn't have problem.

Sorry for my English (I'm french). Please use easy words to answer .

Thank you
Ptiji is offline   Reply With Quote

Reply

Tags
msh multiblock interface


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
[Other] 3D geometry exported from Mimics, import to OpenFOAM seuchsy OpenFOAM Meshing & Mesh Conversion 2 October 5, 2016 08:58
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
[DesignModeler] problem with import geometry from catia pavilion ANSYS Meshing & Geometry 1 November 23, 2012 10:45
[ICEM] Best way to import geometry ICEM Cottbus ANSYS Meshing & Geometry 4 June 12, 2012 09:42
[DesignModeler] Import external geometry problem Houman ANSYS Meshing & Geometry 0 May 16, 2012 04:24


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