|
[Sponsors] |
Writing out source term, coriolis and centrifugal in SRFPimpleFoam |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Madeleine Combrinck
Join Date: Jan 2011
Posts: 2
Rep Power: 0 ![]() |
I am attempting the write out the source terms in ther SRFPimpleFoam solver. Using a similar way than what is used to write out the Uabs:
createFields.H // Create the Uabs volVectorField Uabs ( IOobject ( "Uabs", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), SRF->Uabs() ); // Create the Su volVectorField Su ( IOobject ( "Su", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), SRF->Su() ); This works fine for Uabs, but the problem comes in with Su and its separate terms Fcoriolis() + Fcentrifugal(). The difference is that Uabs is a is volVectorField while the source terms are internal fields, from SRFModel.H: //- Return the coriolis force tmp<volVectorField::Internal> Fcoriolis() const; //- Return the centrifugal force tmp<volVectorField::Internal> Fcentrifugal() const; //- Source term component for momentum equation tmp<volVectorField::Internal> Su() const; //- Return velocity of SRF for complete mesh tmp<volVectorField> U() const; //- Return absolute velocity for complete mesh tmp<volVectorField> Uabs() const; How do I go about writing out internalFields? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Join Date: Aug 2020
Posts: 16
Rep Power: 6 ![]() |
Hello,
it has been a while but did you find any solution? I am looking for the exact same thing. Cheers, Ayca |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculating source term in selected cells | ggoggodak85 | OpenFOAM Programming & Development | 3 | November 29, 2018 08:56 |
Coriolis and centrifugal forces | hilde | CFX | 5 | June 18, 2015 19:50 |
MRFZonesC questions what is the mesh_V and why only Coriolis force no centrifugal force | waynezw0618 | OpenFOAM Running, Solving & CFD | 49 | April 8, 2008 05:23 |
Re: viscous source term | mt | Phoenics | 10 | February 11, 2005 11:46 |