Anisotropic, implicit momentum source term
Hi All
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: fvm::Sp(a, U) 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? Chris |
Hi Chris,
Have a look at the implementation of the porous media source term. I think this is what you are looking for. Cheers, Lieven |
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???
Hello y'all,
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? Thanks |
All times are GMT -4. The time now is 01:24. |