CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

lapalce divergence discretization for couple boundary condition

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2022, 01:39
Default lapalce divergence discretization for couple boundary condition
New Member
Join Date: Oct 2021
Posts: 22
Rep Power: 4
mostafa kareem is on a distinguished road
Hello foamers ,

I'm currently studying source code of coupledFvPatchField so i will use it in my future research extension

for Discretizing the Laplace operator , we need gradientInternalCoeffs and gradientBoundaryCoeffs

so we have

gamma*surface area*( gradientBoundaryCoeffs + gradientInternalCoeffs*internal field )

My question is how the those coefficients are evaluated for couple boundary condition so that we get the following results as stated in source code

template<class Type>
tmp<Field<Type> > coupledFvPatchField<Type>::gradientInternalCoeffs( ) const
return -pTraits<Type>:ne*this->patch().deltaCoeffs();

template<class Type>
tmp<Field<Type> > coupledFvPatchField<Type>::gradientBoundaryCoeffs( ) const
return -this->gradientInternalCoeffs();
mostafa kareem is offline   Reply With Quote


boundary conditions, interface bc, openfoam

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
Divergence detected in AMG solver. VOF. Mr.Mister Fluent Multiphase 4 September 25, 2023 08:10
Neumann boundary condition discretization kveki Main CFD Forum 9 December 9, 2019 15:22
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 02:44
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20

All times are GMT -4. The time now is 04:23.