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
_______________________________________________________________

_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to