|
[Sponsors] |
Can I make a copy of a patch mesh and move it? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 13, 2010, 11:29 |
Can I make a copy of a patch mesh and move it?
|
#1 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Hi,
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: Code:
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? I tried: Code:
polyPatch masterPatchMesh mesh.boundaryMesh()[masterIndex]; masterPatchMesh.movePoints(pointUonMasterPatch); Hopefully some one might have an idea to help me, All suggestions welcome. Thanks, Philip |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 05:24 |
engrid -> save as .stl with boundarie codes | Zymon | enGrid | 31 | August 29, 2011 14: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 | Siemens | 1 | May 12, 2006 20:47 |