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

Flux Formulation interFoam ±fvc::flux(±phir,alpha)

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2025, 12:48
Default Flux Formulation interFoam ±fvc::flux(±phir,alpha)
  #1
New Member
 
Nicholas Langbein
Join Date: Nov 2024
Posts: 21
Rep Power: 2
Nicholas_Langbein is on a distinguished road
Hello,

can someone explain me intuitively or mathematically what does this 2nd term in convection flux formulation mean
in interFOAM we have :
surfaceScalarField alphaPhi2
(
fvc::flux
(
phi,
alpha2,
alphaScheme
)
+ fvc::flux
(
-fvc::flux(phir, alpha1, alpharScheme),
alpha2,
alpharScheme
)
);

what does -fvc::flux(phir, alpha1, alpharScheme) mean or how is it different from -fvc::flux(-phir, alpha1, alpharScheme) in interMixingFoam please help
Nicholas_Langbein is offline   Reply With Quote

Old   February 18, 2025, 06:09
Default
  #2
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 852
Rep Power: 18
sharonyue is on a distinguished road
`-fvc::flux(-phir, alpha1, alpharScheme),` in this way, a upwind scheme equals a downwind scheme. In other way, we can say `-fvc::flux(-phir, alpha1, upwind) = fvc::flux(phir, alpha1, downwind)`

`-fvc::flux(phir, alpha1, alpharScheme)` and `-fvc::flux(-phir, alpha1, alpharScheme)` is different. But `-fvc::flux(phir, alpha1, alpharScheme)` and `fvc::flux(-phir, alpha1, alpharScheme)` is the same (if you dont care about the scheme)
__________________
My OpenFOAM algorithm website: http://dyfluid.com
By far the largest Chinese CFD-based forum: http://www.cfd-china.com/category/6/openfoam
We provide lots of clusters to Chinese customers, and we are considering to do business overseas: http://dyfluid.com/DMCmodel.html
sharonyue is offline   Reply With Quote

Reply

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
InterFoam : Calculate heat/concentration flux at the interface Vietazz OpenFOAM Running, Solving & CFD 3 March 22, 2023 14:28
Warning in flux mapping table with dynamicRefineFvMesh JChristopher OpenFOAM Running, Solving & CFD 1 October 18, 2022 16:17
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
UDS Flux Function Problem sunbird04 FLUENT 6 April 28, 2014 03:58
Heat Flux at Internal walls or Fluid Solid Interface Mahi CFX 3 October 1, 2012 03:18


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