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

How to understand the GeometricOneField class?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2019, 12:48
Smile How to understand the GeometricOneField class?
  #1
New Member
 
Zongshi
Join Date: May 2019
Location: Zurich, Switzerland
Posts: 4
Rep Power: 6
dzsmoglai is on a distinguished road
Dear FOAMers,
Recently I want reading the code of interFOAM and in particular to modify the turbulence model for it. But I really don't understand why interFoam use an alphaField type of GeometricOneField, which seems to only have the value 1. Also, I checked the codes for class GeometricOneField and its parrent class One, it seems there's no operation reloading of plus(+) and (-). So if I want to do some calculation of alpha (interFoam), I always failed. Can someone give me some guidance or refferences?
dzsmoglai is offline   Reply With Quote

Reply

Tags
geometriconefield, interfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Undefined reference to custom class cryabroad OpenFOAM Programming & Development 5 July 3, 2018 02:21
Implementation of turbulence->divDevReff(U) rushs777 OpenFOAM Programming & Development 4 May 3, 2018 23:55
The udf.h headers are unable to open- in VISUAL STUDIO 13 sanjeetlimbu Fluent UDF and Scheme Programming 4 May 2, 2016 05:38
Nested class and inheritance permissions MMC15 OpenFOAM Programming & Development 0 December 20, 2013 10:16
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


All times are GMT -4. The time now is 14:39.