|
[Sponsors] |
November 30, 2016, 13:42 |
Turbulence model gradient of alpha
|
#1 |
New Member
Andre
Join Date: May 2015
Posts: 3
Rep Power: 11 |
Hi, I want to extend the kOmegaSST model by a term modifying the omega equation near the interface of a two-phase liquid gas flow in interFoam.
For this I need the gradient of the alpha_ field. In order to calculate the gradient in the correct() function of the turbulence model I need a volScalarField of alpha but alpha is of type alphaField. The stupid Idea of const volScalarField& alpha = alpha_ ; do not work. Have anybody a Idee how to get the gradient of a alphaField? Thanks |
|
December 1, 2016, 13:14 |
|
#2 |
New Member
Andre
Join Date: May 2015
Posts: 3
Rep Power: 11 |
I fond the solution:
const immiscibleIncompressibleTwoPhaseMixture& mixture = refCast<const immiscibleIncompressibleTwoPhaseMixture>(this->transport()) ; const volScalarField& alpha1 = mixture.alpha1(); Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
question regarding LES of pipe flow - pimpleFoam | Dan1788 | OpenFOAM Running, Solving & CFD | 37 | December 26, 2017 15:42 |
Overflow Error in Multiphase Modelling with Two Continuous Fluids | ashtonJ | CFX | 6 | August 11, 2014 15:32 |
Spalarat - Allmaras turbulence model | saisanthoshm88 | Main CFD Forum | 1 | June 16, 2014 17:33 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |
Low Reynolds k-epsilon model | YJZ | ANSYS | 1 | August 20, 2010 14:57 |