Rotating Mesh, errors in Cyclic AMI interface
1 Attachment(s)
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 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> >&>] Thanks, WhiteW |
Please provide the necessary files:
|
1 Attachment(s)
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 Code:
transform noOrdering; WhiteW |
All times are GMT -4. The time now is 22:40. |