Dear Mohammad Hodroj,

couldn't you find related topics in the mail archive, as Timo suggested?

Anyhow, I'll try to give you some hints:

- The 2ptracer test case shows how fluxes can be calculated for each scvf. Have a look at
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/blob/master/test/porousmediumflow/tracer/2ptracer/main.cc
This should also work for your test case

- Writing out fluxes is not straightforward since they are face related and can't be assigned to cells/elements. For this you could use the "Dumux::PointCloudVtkWriter", where you could write fluxes at face centers (points) or have a look at ConformingIntersectionWriter
where data can be directly assigned to faces.

I hope this helps to solve your issues.

Best regards,
Martin

On 14.12.22 11:01, Mohammad Hodroj (Student) wrote:
Dear DuMux Community,

I hope this emailĀ finds you well.

I am writing to ask for your support in the following:

a) I am working on 2p flow - porous medium
b) I am using cctpfa
c) I am using the Neuman boundary conditions for the domain.
d) Gas is injected from the bottom
e) no water flow
f) at time = 0 , Sg = 0 and Sw = 0.2.
g) I am using fvGridGeometry

*Help:*

How can I print the gas fluxes on VTK files? and Should I write the code of the flux in the injection2pproblem.hh and 2pmain.cc?

*Note:*

I read Rafael's script, but it seems his problem is different.

Could you please guide me on this matter or attach a sample code.

Thanks for your help.

Best Regards,
Mohammad Hodroj



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

Reply via email to