|
[Sponsors] |
Locating near wall cells for evaporation model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 30, 2014, 13:34 |
Locating near wall cells for evaporation model
|
#1 |
New Member
Join Date: Sep 2010
Location: Windsor, Ontario
Posts: 17
Rep Power: 15 |
Hi everyone,
I am trying to simulate evaporation due to high heat flux on a specific wall. I have written following lines to locate the near wall cells where the evaporation occurs. At this moment I am only considering a constant value for evaporation (GammaGL[iCell] = 20). I was wondering if these lines locate the near wall cells and employ the evaporation rate on the near wall cells? Thanks for your help. const fvPatchList& patches = mesh.boundary(); forAll(patches, patchi) { const fvPatch& thePatchItselfWall = patches[patchi]; if (isA<wallFvPatch>(thePatchItselfWall)) { forAll(thePatchItselfWall, iFace) { label iCell = thePatchItselfWall.faceCells()[iFace]; vector iCellCentre = mesh.cellCentres()[iCell]; GammaGL[iCell] = 20; } } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to handel source term in near wall cells | kaifu | OpenFOAM | 1 | May 15, 2011 16:59 |
UDF for wall slipping | HFLUENT | Fluent UDF and Scheme Programming | 0 | April 27, 2011 12:03 |
[snappyHexMesh] snappyHexMesh aborting | Tobi | OpenFOAM Meshing & Mesh Conversion | 0 | November 10, 2010 03:23 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 20:30 |
Wall functions | Abhijit Tilak | Main CFD Forum | 6 | February 5, 1999 01:16 |