|November 12, 2012, 18:09||
changing matrix coeffs in a cell
Join Date: Sep 2009
Posts: 15Rep Power: 0
i want to change the fvmatrix coeffs for a specific cell.(for this matrix)
fvScalarMatrix TEqn ( fvm::ddt(T) + fvm::div(phi, T) - fvm::laplacian(DT, T) );
My idea for solving this problem would be to interpolate the faces of the cells and the calculate the the upper() and lower(). Here an example for the fvm::div:
fvm.lower() = -weights.internalField()*faceFlux.internalField(); fvm.upper() = fvm.lower() + faceFlux.internalField(); fvm.negSumDiag();
how are the fvmatrix.source() terms described for div and laplacian?
and is there a more elegant way?
|Thread||Thread Starter||Forum||Replies||Last Post|
|CGNS converters available||mbeaudoin||OpenFOAM Meshing & Mesh Conversion||125||July 1, 2015 21:09|
|gradient calculation of cell centered finite volume method||zhengjg||Main CFD Forum||10||November 12, 2012 00:13|
|Help Me, what's the Cell Above in 3D.||gomane8||Main CFD Forum||0||September 10, 2011 19:09|
|Mass flow rate through each cell||Babakjingo||Main CFD Forum||0||August 21, 2011 03:18|
|If I know one cell in the fluent ,how to find some other neigbor cell of it .||wwt650420||FLUENT||0||March 23, 2011 12:12|