|
[Sponsors] |
Is the faceMask object in pEqn.h part of the dynamic mesh update? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 30, 2019, 10:27 |
Is the faceMask object in pEqn.h part of the dynamic mesh update?
|
#1 |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Hello all,
I'm trying to find the reason for why "faceMask" is used in this piece of code? Code:
surfaceScalarField faceMask(localMin<scalar>(mesh).interpolate(cellMask)); volScalarField rAU(1.0/UEqn.A()); surfaceScalarField rhorAUf("rhorAUf", faceMask*fvc::interpolate(rho*rAU)); volVectorField HbyA("HbyA", U); HbyA = constrainHbyA(cellMask*rAU*UEqn.H(), U, p); https://www.openfoam.com/documentati...8H_source.html Here some more info from https://fossies.org/linux/OpenFOAM/s...eateCellMask.H Code:
34 Info<< "Creating cellMask field to block out hole cells\n" << endl; 35 36 volScalarField cellMask 37 ( 38 IOobject 39 ( 40 "cellMask", 41 runTime.timeName(), 42 mesh, 43 IOobject::NO_READ, 44 IOobject::NO_WRITE 45 ), 46 mesh, 47 dimensionedScalar("one", dimless, 1.0), 48 zeroGradientFvPatchScalarField::typeName 49 ); 50 51 #include "setCellMask.H" 52 53 // ************************************************************************* What are hole cells? Last edited by massive_turbulence; January 30, 2019 at 19:34. Reason: Added more code |
|
February 1, 2019, 15:58 |
|
#2 |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
I think I found what hole cells are.
" Holecutting boundaries are typically defined by solid wall boundary conditions". from: "A High-Order Overset Method on Moving and Deforming Grids" by Jacob Crabill and Antony Jameson. http://aero-comlab.stanford.edu/Pape...r2016-3225.pdf Basically if you have an object that's the negative space and it's a moving mesh, that's the hole cell. master.img-000.jpg |
|
Tags |
cell, interpolate, mesh, moving boundary |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
linearly accelerated object with dynamic mesh | mohsenz_136 | Main CFD Forum | 1 | January 12, 2024 13:58 |
[Other] Dynamic mesh & point displacement ( small part of an object) HELP | Abderahmane | OpenFOAM Meshing & Mesh Conversion | 0 | March 17, 2017 09:59 |
update monitors obligatery for dynamic mesh | bia | Fluent UDF and Scheme Programming | 0 | October 12, 2015 14:43 |
Dynamic Mesh tutorial Part I attachDetach | hsieh | OpenFOAM Running, Solving & CFD | 5 | October 11, 2012 16:00 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |