|October 13, 2010, 10:29||
Can I make a copy of a patch mesh and move it?
Join Date: Mar 2009
Posts: 572Rep Power: 19
In my solver I use patchToPatchInterpolation to interpolate a value from one patch to another, but I need the deformed patch mesh to define the patchToPatchInterpolation. Is there some way I can make a copy of a patch mesh and then move it?
At the moment I move the whole mesh, then declare my patchToPatchInterpolation and do any patch interpolation I need, then I move the whole mesh back.
This is obviously not the most efficient way of doing it.
I define the patchToPatchInterpolation like this:
patchToPatchInterpolation masterToSlaveInterpolate ( deformedMesh.boundaryMesh()[masterIndex], //from patch deformedmesh.boundaryMesh()[slaveIndex], //to patch algorithm, direction );
Is there some way I can make a copy of the patch meshes and then move these?
polyPatch masterPatchMesh mesh.boundaryMesh()[masterIndex]; masterPatchMesh.movePoints(pointUonMasterPatch);
Hopefully some one might have an idea to help me,
All suggestions welcome.
|Thread||Thread Starter||Forum||Replies||Last Post|
|[ICEM] Generating Mesh for STL Car in Windtunnel Simulation||tommymoose||ANSYS Meshing & Geometry||48||April 15, 2013 04:24|
|engrid -> save as .stl with boundarie codes||Zymon||enGrid||31||August 29, 2011 13:40|
|Move boundary mesh points||gruber||OpenFOAM||1||January 27, 2010 11:03|
|fluent add additional zones for the mesh file||SSL||FLUENT||2||January 26, 2008 12:55|
|Using engineering data to move a mesh||hermallorn||CD-adapco||1||May 12, 2006 19:47|