trouble with Source Term
I would like to implement a Source Term.
The trouble is that it is calculated thanks to a lot of variables and the BC of that source term is not specified.I am a bit tempted to put a zerogradient everywhere when I implement it.Can anybody tell me what I should do?How can I specify the BC of that source term?
why do you need BC's for a source term? The choice of BC's is only important, if you want to solve an equation for that field. If it is only a source in an equation for another field you can use the default calculated BC. (BTW the boundaryField shouldn't be used when having a volumetric source. In fact it should make no difference which kind of BC you use.)
Thank you so much for your information!
the reason I was asking that question was that the sources are to be relaxed so I guess creating field is required!
|All times are GMT -4. The time now is 20:36.|