|
[Sponsors] |
April 25, 2019, 06:13 |
Put patch in internal mesh
|
#1 |
New Member
Edoardo
Join Date: Mar 2019
Posts: 15
Rep Power: 7 |
Hello everybody,
I am having problems with mergeMeshes. For my studies, I need to make a lot of simualtions of a bluff body with different angles of attack so the idea was: - mesh the wind tunnel with a spheric hole (with snappy) - mesh a sphere with the bluff body in it (with snappy) - rotate the mesh of the sphere of the angle that I need - merge the meshes and running the simulation That idea was for avoiding to mesh each time for each angle of attack. The problem is that when I am going to merge the Meshes in the boundary files there is the pathc of the sphere (with a non zero number of faces), but I don't want it because it is supposed to be part of the internal mesh. How can I add this patch to the internal mesh? Thanks in advance to everybody, Edoardo. |
|
April 26, 2019, 06:20 |
|
#2 |
New Member
Edoardo
Join Date: Mar 2019
Posts: 15
Rep Power: 7 |
I have tried with mergeMeshes and then with stitchMeshes but when I do the stitch mesh -perfect gives me an error about the merging tolerances; if I use -partial it remains stuck and don't do anything.
The things is that the two patches don't fit perfectly because they have small differences in face numbers for the two different way of meshing those surfaces. So my question is: is the one that I had described above in the previous post the right approach or not? Maybe is possible to separate the two meshes after had meshed all together because in that way the surfaces will be identically? Hope that somebody could help me. Edoardo. |
|
April 30, 2019, 03:38 |
|
#3 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
You can try and define the patch that is common as cyclicAMI with transformation noOrdering Hope this helps Cheers, Antimony |
|
May 2, 2019, 07:14 |
|
#4 |
New Member
Edoardo
Join Date: Mar 2019
Posts: 15
Rep Power: 7 |
I'll try in that way and I will let you know.
Thanks for replying. |
|
May 3, 2019, 09:14 |
|
#5 |
New Member
Edoardo
Join Date: Mar 2019
Posts: 15
Rep Power: 7 |
Hi Antimony,
thanks for your suggestion, it worked!! Edoardo. |
|
May 22, 2019, 10:59 |
Problem AMI
|
#6 |
New Member
Edoardo
Join Date: Mar 2019
Posts: 15
Rep Power: 7 |
Hello everybody,
I am working on a simplyfied test case for a moving flap. I have a stationary zone and a rotating zone and all of the mesh and the simulation seems to works well. The problem it that watching at the tke seems like that the two zones (stationary and rotating) are not talking each others. Looking at the velocity fields, epsilon and nut and p the two zones are talking each others but not tke. Is something that is needed to be activated or something that I am missing? I add two screen of two different time step on a plane cutting the rotating part for k and U and my BCs for k. Thanks in advance as always, Edoardo. |
|
May 22, 2019, 11:04 |
|
#7 |
New Member
Edoardo
Join Date: Mar 2019
Posts: 15
Rep Power: 7 |
Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0.01; boundaryField { "rotor|stator" { type kqRWallFunction; value $internalField; } inlet { type fixedValue; value uniform 0.01; } outlet { type zeroGradient; } "AMI.*" { type cyclicAMI; value $internalField; } defaultFaces { type slip; } } // ************************************************************************* // |
|
May 22, 2019, 11:13 |
|
#8 |
New Member
Edoardo
Join Date: Mar 2019
Posts: 15
Rep Power: 7 |
sorry I put my last two messages into the wrong thread.
I opened a new thread. |
|
Tags |
mergemeshes, openfoam, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
steadyUniversalMRFFoam Tutorial fails in MixingPlane | HenrikJohansson | OpenFOAM Bugs | 0 | February 14, 2019 05:48 |
[Other] dynamicTopoFVMesh and pointDisplacement | RandomUser | OpenFOAM Meshing & Mesh Conversion | 6 | April 26, 2018 08:30 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |