how to write some terms in ***.C file
1 Attachment(s)
Hi Dear all
I try to develop simpleFoam solver by adding new equations to it, new equations have the following terms : 1. nabla . [D nabla F + (C/ T) nabla T] 2. K [ D nabla F . nabla T + (D/T) nabla T . nabla T ] D,C and K are constant. I don't know how should I write these terms in newSimpleFoam.c and also for each term fvm is better or fvc. (a correct mathematic presentation of above terms is attached) your help is appreciated. Thanks. Arjang |
I recommend having a look at the following:
https://dl.dropboxusercontent.com/u/...20tutorial.pdf http://www.cfd-online.com/Forums/ope...equations.html http://www.cfd-online.com/Forums/ope...tml#post411753 There is a lot more information in this forum about modifying the default solvers, simpleFoam in particular. |
thanks for your answer Dear Artur. but I want to know how should I write these terms to achieve
better convergence. I think firstly I should make a linearization of terms nablaT.nablaT and nablaF.nablaF , if that's true which CFD books can help me? Does any body have any tip for me? |
All times are GMT -4. The time now is 00:20. |