Dear Max,

currently we do not have more tutorials than the dumux course. But in your case I think adapting an existing model/problem is sufficient for your needs. If you are only interested in water and water vapor and no additional component (no air in the system) then you might also have a look at the 2p1c test case which deals with such a fluid system and describes a problem where steam is injected in liquid water.

Apart from the values in your last mail you would need initial conditions, e.g. is your domain initially fully saturated with water as a liquid, or do you have a mixture of water and steam.

I hope this helps.

Best wishes,

Katharina


On 11/14/2018 09:10 PM, Maximilian Johannes Lueftner wrote:


Dear Katharina,


Thank you for your quick respons.

When I changed the settings to a calculation without gravity, I also got no unphysical temperatures.

If I manage to set up an executable simulation with the 2p2c nonisothermal model, that would be great. Is it correct, that in my case, the N2 is not needed?

For the considered case, the values would be:
Geometry: x = 152.4mm, y = 58mm
Heat flux (from x = 50mm to x = 100mm) = 100 kW/m²
Inlet conditions:
Velocity = 0.25 mm/s
Temperature = 295,15 K

Porosity = 0.42
Permeability = 2,9e-10 m²

Further data can be found in table3 from the attachment in my last mail.

Or do I need any further values, than the ones above?

For me it is still very difficult to build a model from the beginning. Is there any kind of tutorial on how to set up a new simulation or is it easier to customize an already existing simulation?

I have already worked through the Dumux Course on my own, but i still can not figure out how to do it proberly.

I would be very thankfull if you had a few more tips for me.

Thank you very much in advance.


Best regards,

Max




Zitat von Katharina Heck <[email protected]>:

Dear Max,

I am forwarding your mail to the mailing list, as it might be interesting for others as well.

It should be possible to extend the combustion test to a 2d case without any additions and set up the problem you described. Just changing the grid to YASPGrid and a 2D grid did not lead to nonphysical values, when I tried that.  From what I know the combustion test is very sensitive to different heat conductivities in the solid. Unphysical values for that might lead to unphysical temperatures easily. What parameters are you using? I could not find values for that in the reference you send me.  Are you interested in calculating local thermal non-equilibrium (solving energy balance equations for the solid and the fluid?) If not, you can also have a look at a 2p2c nonisothermal model for your test case where one balance equation is used for the fluid and solid phases.

Best wishes,

Katharina


On 11/11/2018 08:44 PM, Maximilian Johannes Lueftner wrote:

Dear Katharina,

thank you for the notification of the resolution of the problem, the calculations now work without any problems.

Maybe you can give me some helpful tips on my next step?

I would like to rewrite the case to a 2D case. A porous material should be flowed through from left to right and on the lower edge, in the middle an energy source should bring the water to evaporate. In the attachment I have uploaded a paper, which describes an identical case. I would like to simulate this with Dumux. Is this generally possible with the mpnc model or do I need more model customizations?

I have already implemented a 2D geometry with YASPGrid, but on the upper part at the end of the porous area (0,1m) I get very unphysical temperatures again.

Since I am not sure if this kind of question is also relevant for the public domain, I have now contacted you direcly. If you wish, you can also hand off this email to the public area.

Thank you very much in advance.

Best regards,

Max



Zitat von Katharina Heck <[email protected]>:

Dear Max,

regarding your email last week, I think we now found the bug (there were issues due to our introduction of a solidsystem and the thermal conductivities were not implemented correctly) and fixed thm on dumux - master as well. If you want to you can now checkout the master branch again to use the combustion test.

Best wishes,

Katharina


On 10/26/2018 11:37 AM, Maximilian Johannes Lueftner wrote:

Dear Martin,

thanks for the quick help, the simulation is now running.

Unfortunately, I get very unphysical temperatures. Behind the porous area, after 0.1m, the temperature rises up to over 50000K(depends on the grid). I have already searched for the problem myself, but unfortunately without success. The results also differ from those in the Solution folder.
Could you please help me again?

Thank you in advance and best regards,

Max





Zitat von Martin Schneider <[email protected]>:

Dear Max,

I had a look at the test case and I got the same message.
The problem is that the grids folder is missing in your build-cmake directory
where you run your tests.

This can be easily fixed by putting the following command into your *CMakeLists.txt* file (in the directory *porousmediumflow/mpnc/implicit/*):
*dune_symlink_to_source_files(FILES grids)*

After you have added this command you have to type *make* in your build-cmake folder
such that a link to your grid files is added.

Thanks for reporting this issue. It will be fixed soon.

I hope this helps. Best regards,
Martin

On 10/19/2018 04:36 PM, Maximilian Johannes Lueftner wrote:


Dear DuMuX experts,

i try to calculate the simulation from the test folder „porousmediumflow/mpnc/implicit/test_boxmpncthermalnonequil.cc" and get the following error message:


DGF exception thrown (DGFException [BasicBlock:/home/max/dumux3/dumux/dune-grid/dune/grid/io/file/dgfparser/blocks/basic.cc:28]: file not found in BasicBlock::BasicBlock). Most likely, the DGF file name is wrong or the DGF file is corrupted, e.g. missing hash at end of file or wrong number (dimensions) of entries. ---> Abort!

Could you please help me to solve this problem? I tried it myself several times but was not successful until now.

Thank you in advance and best regards,

Max


_______________________________________________
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

--
_______________________________________________________________

Katharina Heck                 phone: +49 711 685 64719
IWS, Universität Stuttgart     fax:   +49 711 685 54719
Pfaffenwaldring 61             email: [email protected]
D-70569 Stuttgart              url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________



--
_______________________________________________________________

Katharina Heck                 phone: +49 711 685 64719
IWS, Universität Stuttgart     fax:   +49 711 685 54719
Pfaffenwaldring 61             email: [email protected]
D-70569 Stuttgart              url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________




--
_______________________________________________________________

Katharina Heck                 phone: +49 711 685 64719
IWS, Universität Stuttgart     fax:   +49 711 685 54719
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