CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Changed mesh flag for patches

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2019, 12:02
Default Changed mesh flag for patches
  #1
New Member
 
Join Date: Nov 2016
Posts: 8
Rep Power: 9
jackdoubleyou is on a distinguished road
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.
jackdoubleyou is offline   Reply With Quote

Reply

Tags
boundary condition, dynamic mesh, time varying


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 15:33.