transfer of solution from one script to another
Hi
I tried to find this from the documentation but couldn't - may be I am searching for the wrong terminology. I'd be very thankful if you could help me out here:
I solve a PDE using a FEniCS script, and find a solution u. What I wish to do is to export/transfer this solution to another script which takes u as "input" (i.e. known) and solves another PDE in terms of another variable based on this given input.
Any help please?
Many thanks,
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2013-03-25
- Last reply:
- 2013-03-27
Patrick Farrell (pefarrell) said : | #1 |
See page 206/207 of the FEniCS book.
Anders Logg (logg) said : | #2 |
On Mon, Mar 25, 2013 at 11:56:01AM -0000, Hossein Nili wrote:
> New question #225096 on FEniCS Project:
> https:/
>
> Hi
>
> I tried to find this from the documentation but couldn't - may be I am searching for the wrong terminology. I'd be very thankful if you could help me out here:
>
> I solve a PDE using a FEniCS script, and find a solution u. What I wish to do is to export/transfer this solution to another script which takes u as "input" (i.e. known) and solves another PDE in terms of another variable based on this given input.
>
> Any help please?
Look at the Stokes and advection-diffusion demos in DOLFIN. The
computed Stokes velocity from one demo is used as input to the
advection-diffusion demo.
--
Anders
Can you help with this problem?
Provide an answer of your own, or ask Hossein Nili for more information if necessary.