CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: hjasak
Forum: OpenFOAM Programming & Development October 17, 2014, 12:50
Replies: 4
Views: 1,864
Posted By hjasak
fvPatchField.C // Return gradient at...

fvPatchField.C


// Return gradient at boundary
template<class Type>
Foam::tmp<Foam::Field<Type> > Foam::fvPatchField<Type>::snGrad() const
{
return (*this -...
Forum: OpenFOAM Programming & Development October 15, 2014, 06:25
Replies: 4
Views: 1,864
Posted By hjasak
[(value at the boundary) - (value in the...

[(value at the boundary) - (value in the cell)]/distance

Since you are fixing the boundary value, the cell value (solution) will influence your snGrad.

Hrv
Showing results 1 to 2 of 2

 
Forum Jump

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