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

What is G field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2022, 05:40
Default What is G field
  #1
Member
 
Nguyen Trong Hiep
Join Date: Aug 2018
Posts: 48
Rep Power: 7
hiep.nguyentrong is on a distinguished road
Hi all,

Sorry for stupid question. Im new to OpenFOAM, when i read source code of epsilonWallfunction. But i dont know what is the G field.
Can anyone explain it for me.
Thank you.

Code:
231 // Set epsilon and G
232 forAll(nutw, facei)
233 {
234 label celli = patch.faceCells()[facei];
235
236 scalar w = cornerWeights[facei];
237
238 epsilon[celli] += w*Cmu75*pow(k[celli], 1.5)/(kappa_*y[facei]);
239
240 G[celli] +=
241 w
242 *(nutw[facei] + nuw[facei])
243 *magGradUw[facei]
244 *Cmu25*sqrt(k[celli])
245 /(kappa_*y[facei]);
246 }
247 }
hiep.nguyentrong is offline   Reply With Quote

Old   June 10, 2022, 17:59
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
afaik: turbulent kinetic energy production rate [m2/s3] (the same units of epsilon).
HPE is offline   Reply With Quote

Old   June 12, 2022, 23:13
Default
  #3
Member
 
Nguyen Trong Hiep
Join Date: Aug 2018
Posts: 48
Rep Power: 7
hiep.nguyentrong is on a distinguished road
Quote:
Originally Posted by HPE View Post
afaik: turbulent kinetic energy production rate [m2/s3] (the same units of epsilon).
Thank you for reply.
Do you have any document or any key word for this. I still don't know why need to have this field
hiep.nguyentrong is offline   Reply With Quote

Old   June 14, 2022, 11:09
Default
  #4
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 668
Rep Power: 14
Tobermory will become famous soon enough
Perhaps read up a little on RAS closure models - start with the k-epsilon model, https://cpp.openfoam.org/v8/kEpsilon_8C_source.html. You will quickly see why this term is useful.
Tobermory is offline   Reply With Quote

Reply


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
Initial pressure field from velocity field (incompressible) dhein STAR-CCM+ 3 January 18, 2022 08:12
turbulence field omega stops solver woodie OpenFOAM Pre-Processing 1 January 9, 2022 10:42
Implement field function with data from previous time steps as boundary condition Faraam STAR-CCM+ 0 August 20, 2021 15:33
potential flows, helmholtz decomposition and other stuffs pigna Main CFD Forum 1 October 26, 2017 08:34
[General] How to create an additional vector with {Field 4, Field 5, Field 6} Bombacar ParaView 1 August 15, 2015 18:05


All times are GMT -4. The time now is 06:31.