On 12.11.19 18:11, Khare, Deepanshu wrote:
Dear Timo,
I have modified the pointSource where the point source will produce
some chemical under certain conditions. Now, I want the value of this
new source term in neumann so that I can change the neumann boundary
conditions which depends on the production of chemicals.
This is the reason why I wanted to call pointSource(...) in
neumann(...). I hope now you have a better idea of what I am trying to do?
Dear Deepanshu,
sorry not really. I sounds like you could maybe just implement a
separate function which computes your chemical reaction and then call
this function from both "pointSource" and "neumann"? In case this is
just about avoiding code duplication...
Again pointSource(...) and neumann(...) are unrelated functions that
semantically do something completely different. It makes no sense to
call one from the other.
Timo
Best Regards,
Deepanshu Khare,
Institute of Bio-and Geosciences: Agrosphere (IBG-3)
Forschungszentrum Jülich GmbH,
52425 Jülich
Germany
Telephone: +49-(0)2461-618606
Email:[email protected]
On 12.11.19 17:50, Timo Koch wrote:
Hi Deepanshu,
it's unclear what you are trying to do. The function "pointSource"
let's you modify a single point source and is called for all point
sources in your system.
The function "neumann" is called on all (sub-)control-volume faces
with Neumann boundary conditions. Hence, it doesn't make sense to
call the "pointSource"
function in the "neumann" function, because point sources have
nothing to do with Neumann boundaries.
Best wishes
Timo
On 12.11.19 15:48, Khare, Deepanshu wrote:
Hi,
I am working with a model which is similar to
test/multidomain/embedded/1d3d/1p2c_richards2c. In problem_root.hh,
is it possible to get the value of source from pointSource(...) in
neumann(...)?
I tried using:
this -> pointSource(*source*, element, fvGeometry, elemVolVars,
fvGeometry.scv(scvf.insideScvIdx()));
but I don't know how can I give the output value of source from
pointSource(...) to neumann(...)
--
Best Regards,
Deepanshu Khare,
Institute of Bio-and Geosciences: Agrosphere (IBG-3)
Forschungszentrum Jülich GmbH,
52425 Jülich
Germany
Telephone: +49-(0)2461-618606
Email:[email protected]
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
--
_______________________________________________________________
Timo Koch phone: +49 711 685 64676
IWS, Universität Stuttgart fax: +49 711 685 60430
Pfaffenwaldring 61 email:[email protected]
D-70569 Stuttgart url:www.hydrosys.uni-stuttgart.de
_______________________________________________________________
--
_______________________________________________________________
Timo Koch phone: +49 711 685 64676
IWS, Universität Stuttgart fax: +49 711 685 60430
Pfaffenwaldring 61 email: [email protected]
D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux