|
[Sponsors] |
Rotating Mesh, errors in Cyclic AMI interface |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 26, 2016, 06:46 |
Rotating Mesh, errors in Cyclic AMI interface
|
#1 |
Member
Join Date: Dec 2015
Posts: 74
Rep Power: 10 |
Hi Foamers, I’m trying to simulate a 2D Vertical Axis Wind Turbine analysis in OpenFoam 4.0, but I’m having some troubles with cyclic AMI interface.
I have created two different meshes with Salome (Rotor and WindTunnel) and exported to OpenfOAM in *.unv format. (I have also exported them directly to OpenFOAM using the python script salomeToOpenFOAM, however the described situation is the same.) For both these meshes I specified the surface of rotating cylinder as a face patch. I created two OpenFAOAM folders (for rotor and WindTunnel) and in each of them I run: Code:
ideasUnvToFoam Mesh_1.unv ideasUnvToFoam WinTunnel.unv Code:
mergeMeshes OpenFOAM-2D-VAWT-RO/ OpenFOAM-2D-VAWT-WT/ > log.mergeMeshes Code:
createPatch -overwrite > log.createPatch In the complete case, the interfaces seem to be walls and the interpolation is not correct since the streamlines in the rotating part are completely different than the outside streamlines. I have also tried another setting: If, in the meshes generation, I split the cylindrical interface in two half (upper part and lower part) and then I couple them with two cyclicAMI interfaces, I noticed that in OpenFOAM the renumberMesh command does not work and it gives an error about the matching of the source and target surfaces.. But they are perfectly identical, if check the mesh in Salome or if I open the mesh in Paraview. I can’t explain this.. Code:
From function void Foam::AMIMethod<SourcePatch, TargetPatch>::checkPatches() const [with SourcePatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>; TargetPatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>] in file lnInclude/AMIMethod.C at line 57 Source and target patch bounding boxes are not similar source box span : (1.6 0.8 0.01) target box span : (0.961359 1.58354 0.01) source box : (-0.8 7.34788e-17 0) (0.8 0.8 0.01) target box : (-0.799999 -0.799984 0) (0.16136 0.783558 0.01) inflated target box : (-0.892626 -0.892611 -0.0926271) (0.253987 0.876185 0.102627) Thanks, WhiteW |
|
September 26, 2016, 10:05 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Please provide the necessary files:
__________________
Keep foaming, Tobias Holzmann |
|
September 26, 2016, 10:12 |
|
#3 |
Member
Join Date: Dec 2015
Posts: 74
Rep Power: 10 |
Hi Tobi, thanks for replying.
I just realized that the problem was the definition of the patches in createPatchDict. The setting I was using was wrong: Code:
FoamFile { version 2.0; format ascii; class dictionary; object createPatchDict; } pointSync false; patches ( { name per_int_E; patchInfo { type cyclicAMI; neighbourPatch per_int_I; transform rotational; rotationAxis (0 0 1); rotationCentre (0 0 0); matchTolerance 1E-1; } constructFrom patches; patches (IntCirc_extruded); } { name per_int_I; patchInfo { type cyclicAMI; neighbourPatch per_int_E; transform rotational; rotationAxis (0 0 1); rotationCentre (0 0 0); matchTolerance 1E-1; } constructFrom patches; patches (Internal1); } { name Blade_extruded_1; patchInfo { type wall; } constructFrom patches; patches (Blade_extruded); } { name Blade_extruded_rotated_1; patchInfo { type wall; } constructFrom patches; patches (Blade_extruded_rotated); } { name Rotor_Top_1; patchInfo { type empty; } constructFrom patches; patches (Rotor_Top); } { name Rotor_Bot_1; patchInfo { type empty; } constructFrom patches; patches (Rotor_Bot); } { name PiaWT_1; patchInfo { type empty; } constructFrom patches; patches (PiaWT); } { name WC_PiaWT_Top_1; patchInfo { type empty; } constructFrom patches; patches (WC_PiaWT_top); } { name Sides_extruded_1; patchInfo { type symmetry; } constructFrom patches; patches (Sides_extruded); } ); Code:
transform noOrdering; WhiteW |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
Star CCM Overset Mesh Error (Rotating Turbine) | thezack | Siemens | 7 | October 12, 2016 12:14 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 14:38 |
3D Hybrid Mesh Errors | DarrenC | ANSYS Meshing & Geometry | 11 | August 5, 2013 07:42 |