|
[Sponsors] |
May 21, 2019, 12:02 |
Changed mesh flag for patches
|
#1 |
New Member
Join Date: Nov 2016
Posts: 8
Rep Power: 9 |
Hi,
I'm trying to implement a new boundary condition, loosely based on timeVaryingMappedFixedValue, where the value changes each timestep based on some files that are read in. These files need only be read in at the start, and a calculation is performed based on the time value. When files are read in, they are interpolated to match the patch. I'm planning on using this boundary condition with a dynamic mesh solver, specifically a dynamicRefineFvMesh. Every time the mesh is updated (based on number specified in dynamicMeshDict), I will need to re-interpolate my read in values. Ideally, I would only re-interpolate if they mesh for that patch has changed, which is not necessarily every time it changes. Is there a flag for an fvPatch, or one of the derived/inherited classes that would tell me if the mesh for that patch has changed, similar to "mesh.changing()" for the whole mesh. |
|
Tags |
boundary condition, dynamic mesh, time varying |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
[snappyHexMesh] SHM problem : KVLCC2 with appendage mesh | sc.park | OpenFOAM Meshing & Mesh Conversion | 1 | March 13, 2016 14:28 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry | pizzaspinate | OpenFOAM Meshing & Mesh Conversion | 1 | February 25, 2015 08:05 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |