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

Why there is cellV/V_ in radialActuationDisk

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2023, 14:49
Default Why there is cellV/V_ in radialActuationDisk
  #1
Member
 
Marķa Rosales
Join Date: Mar 2023
Location: Spain
Posts: 48
Rep Power: 3
MMRC is on a distinguished road
Hello community,



Why fvOptions radialActuationDiskSource has in its Usource line the contribution of each cell volume divided by total volume PLUS the normalized radial distribution already considered in Tr[i]?



Here is the code:


https://www.openfoam.com/documentati...8C_source.html


HTML Code:
const scalar a = 1.0 - Cp/Ct;     const scalar T = 2.0*rhoRef*diskArea_*mag(Uref)*a*(1.0 - a);       forAll(cells, i)     {         const scalar r2 = magSqr(mesh().cellCentres()[cells[i]] - avgCentre);           Tr[i] =             T            *(radialCoeffs_[0] + radialCoeffs_[1]*r2 + radialCoeffs_[2]*sqr(r2))            /intCoeffs;           Usource[cells[i]] += ((Vcells[cells[i]]/V_)*Tr[i]*E) & Uref;     }
MMRC is offline   Reply With Quote

Reply

Tags
actuator disc, actuator disk, fvoptions momentum source


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



All times are GMT -4. The time now is 18:36.