A general conservation law equation can be expressed as
\pdat+∇⋅f=0\eqc
where a is the conserved quantity. Integrating this equation over a volume Ω gives
Ω∫\pdatdΩ+Ω∫∇⋅fdΩ=0\eqp
The time derivative can be expressed as follows:
Ω∫\pdatdΩ=\ddtaˉV\eqc
where aˉ is the average of a over Ω:
aˉ≡V1Ω∫adΩ\eqc
and V≡Ω∫dΩ.
The flux term can be expressed as follows:
Ω∫∇⋅fdΩ=Γ∫f⋅ndΓ\eqc
where Γ is the surface of Ω, and n is the outward normal vector at a position on the surface.
Now consider that Γ is partitioned into a number of regions: Γ=Γwall∪Γflow, where Γflow=i=1⋃NΓflow,i. The surface Γwall corresponds to a wall, and the surface Γflow,i corresponds to a flow surface, across which a fluid may pass. The number of flow surfaces on the volume is denoted by N. See Figure Figure 1 for an illustration.
Figure 1: Volume junction illustration.
Now the surface integral can be expressed as follows:
Γ∫f⋅ndΓ=Γwall∫f⋅ndΓ+i=1∑NΓflow,i∫f⋅ndΓ\eqp
Now consider that the flux f is constant over each flow surface, and that each flow surface is flat (thus making n constant over the surface). Then,
Γflow,i∫f⋅ndΓ=fi⋅nJ,iAi\eqc
where nJ,i=−ni, and ni is the outward-facing (from the channel perspective) normal of channel i at the interface with the junction.
Now the wall surface integral term needs to be discussed. At this point, we consider the particular conservation laws of interest. Starting with conservation of mass, where a=ρ and f=fmass≡ρu:
Γwall∫f⋅ndΓ=Γwall∫ρu⋅ndΓ=0\eqc
owing to the wall boundary condition u⋅n=0.
For conservation of momentum in the x-direction, a=ρu and f=fmom,x≡ρuu+pex:
where the vector nL,R is the outward unit vector from the "L" state to the "R" state, and t1 and t2 are arbitrary unit vectors forming an orthonormal basis with nL,R.
The "L" state is taken to be the junction, and the "R" state is taken to be the channel i:
where di is the local orientation vector for flow channel i, equal or opposite to ni, and ui,d is the component of the channel i velocity in the direction di.
The input velocities here are in the global Cartesian basis {ex,ey,ez}, whereas the numerical flux function returns momentum components in the normal basis {nL,R,t1,t2}, so one must perform a change of basis afterward:
However, as shown by Hong and Kim (2011) and noted in Daude and Galon (2018), the choice of junction state given above leads to spurious pressure jumps at the junction, so the normal component of the velocity in the junction state UJ,i is modified as follows:
@article{daude2018,
author = "Daude, F. and Galon, P.",
title = "A Finite-Volume approach for compressible single- and two-phase flows in flexible pipelines with fluid-structure interaction",
journal = "Journal of Computational Physics",
volume = "362",
pages = "375-408",
year = "2018",
issn = "0021-9991",
doi = "https://doi.org/10.1016/j.jcp.2018.01.055",
url = "https://www.sciencedirect.com/science/article/pii/S0021999118301207",
keywords = "Variable cross-section, Compressible two-phase flows, Finite Volume, ALE formulation, Pipe network, Junction"
}
Seok Hong and Chongam Kim.
A new finite volume method on junction coupling and boundary treatment for flow network system analyses.
International Journal for Numerical Methods in Fluids, 65:707 – 742, 02 2011.
doi:10.1002/fld.2212.[BibTeX]
@article{hong2011,
author = "Hong, Seok and Kim, Chongam",
year = "2011",
month = "02",
pages = "707 - 742",
title = "A new finite volume method on junction coupling and boundary treatment for flow network system analyses",
volume = "65",
journal = "International Journal for Numerical Methods in Fluids",
doi = "10.1002/fld.2212"
}