CFD Online Logo CFD Online URL
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

LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2019, 13:48
Smile How to understand the GeometricOneField class?
New Member
Join Date: May 2019
Location: Zurich, Switzerland
Posts: 4
Rep Power: 3
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


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

All times are GMT -4. The time now is 07:01.