avity_;
> }
> with
>
> mutable DimVector gravity_;
>
> Best regards,
> Felix
>
> From: Dumux [mailto:dumux-boun...@listserv.uni-stuttgart.de] On Behalf Of
> georg.fut...@dlr.de
> Sent: Tuesday, January 08, 2019 5:22 PM
> To: dumux@listserv.uni-stu
ent: Tuesday, January 08, 2019 5:22 PM
To: dumux@listserv.uni-stuttgart.de
Subject: Re: [DuMuX] gravity dependency on global postion
Hi Timo,
Thanks for the correction ☺
Georg
Von: Dumux [mailto:dumux-boun...@listserv.uni-stuttgart.de] Im Auftrag von Timo
Koch
Gesendet: Dienstag, 8. Januar 2019
Hi Timo,
Thanks for the correction ☺
Georg
Von: Dumux [mailto:dumux-boun...@listserv.uni-stuttgart.de] Im Auftrag von Timo
Koch
Gesendet: Dienstag, 8. Januar 2019 09:22
An: DuMuX User Forum; Felix Feldmann
Betreff: Re: [DuMuX] gravity dependency on global postion
Hi Felix, hi Georg
[mailto:dumux-boun...@listserv.uni-stuttgart.de] Im Auftrag von
Felix Feldmann
Gesendet: Dienstag, 8. Januar 2019 08:54
An: DuMuX User Forum
Betreff: Re: [DuMuX] gravity dependency on global postion
Dear Georg,
Thank you very much for the suggestion.
Unfortunately, I do get a segmentation fault
-stuttgart.de] On Behalf Of
georg.fut...@dlr.de
Sent: Monday, January 07, 2019 6:42 PM
To: dumux@listserv.uni-stuttgart.de
Subject: Re: [DuMuX] gravity dependency on global postion
Hi Felix,
You should try the following:
const GravityVector (const GlobalPosition ) const
{
// initialize a gravity vector
if here so gravity[0] is always defined!
gravity[0]=-100;
return gravity;
}
Best regards
Georg
Von: Dumux [mailto:dumux-boun...@listserv.uni-stuttgart.de] Im Auftrag von
Felix Feldmann
Gesendet: Montag, 7. Januar 2019 15:03
An: DuMuX User Forum
Betreff: Re: [DuMuX] gravity dependency on global
ity_ is defined as a GravityVector:
GravityVector gravity_;
Best regards,
Felix
From: Dumux [mailto:dumux-boun...@listserv.uni-stuttgart.de] On Behalf Of
Kilian Weishaupt
Sent: Monday, January 07, 2019 5:15 PM
To: dumux@listserv.uni-stuttgart.de
Subject: Re: [DuMuX] gravity dependency on gl
ct:* Re: [DuMuX] gravity dependency on global postion
Dear Felix,
you have to implement the following function
* const GravityVector (const GlobalPosition ) const
*in your own problem file.
This overwrites the function from/dumux/porousmediumflow/problem.hh
I hope this helps.
Regards,
Martin
On 12
y still appears to be just one constant value.
>
> I am using DuMux 2.12.0
>
> Kind regards,
> Felix
>
>
> From: Martin Schneider [mailto:martin.schnei...@iws.uni-stuttgart.de]
> Sent: Wednesday, December 19, 2018 6:49 PM
> To: DuMuX User Forum ; Felix Feldmann
&g
regards,
Felix
From: Martin Schneider [mailto:martin.schnei...@iws.uni-stuttgart.de]
Sent: Wednesday, December 19, 2018 6:49 PM
To: DuMuX User Forum ; Felix Feldmann
Subject: Re: [DuMuX] gravity dependency on global postion
Dear Felix,
you have to implement the following function
const
Dear Felix,
you have to implement the following function
* const GravityVector (const GlobalPosition ) const
*in your own problem file.
This overwrites the function from/dumux/porousmediumflow/problem.hh
I hope this helps.
Regards,
Martin
On 12/19/2018 03:43 PM, Felix Feldmann wrote:
Dear DuMux community,
Is there any method to define gravity dependency on
the global position? Or in other words, is it possible to define a specific gravity value for each node?
Best regards,
Felix
___
Dumux mailing list
12 matches
Mail list logo