Anisotropic, implicit momentum source term
Will not bore you with the details, but I am adding a momentum source term that is anisotropic. To do this explicitly is quite easy as a volVectorField with the sources can just be added to the U-equation. For an implicit formulation the following can be used and added to the U-equation:
However, "a" can at best be a volScalarField and hence the source will be locally isotropic. Is there any way in which I can add different implicit source terms to the momentum equations in the three coordinate directions?
Have a look at the implementation of the porous media source term. I think this is what you are looking for.
I'd like to do this too..
Issue is that it appears to be using Jacobi method to solve, which tends to give poor convergence rates. Anyone have any experience on this?
Did anyone find a way to program an implicit anisotropic source???
I have the same problem: how to program an anisotropic implicit source in the momentum equation?
fvm::Sp simply does not accept a tensor as coefficient (fvm::Sp(tensor,vector) does not seem to be implemented).
Did anyone find a way?
|All times are GMT -4. The time now is 16:24.|