|
[Sponsors] |
August 19, 2013, 09:36 |
how to write some terms in ***.C file
|
#1 |
Member
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13 |
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 |
|
August 19, 2013, 12:34 |
|
#2 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 19 |
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. |
|
August 19, 2013, 17:29 |
|
#3 |
Member
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13 |
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? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[Helyx OS] Helyx-OS (GUI for SnappyHexMesh | elvis | OpenFOAM Community Contributions | 210 | January 30, 2017 19:57 |
2.0.x on Mac OSX | niklas | OpenFOAM Installation | 74 | March 28, 2012 17:46 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |