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

lapalce divergence discretization for couple boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2022, 01:39
Default lapalce divergence discretization for couple boundary condition
  #1
New Member
 
Mostafa
Join Date: Oct 2021
Posts: 22
Rep Power: 5
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

Reply

Tags
boundary conditions, interface bc, openfoam


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 5 November 22, 2024 07:32
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 09:51.