Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Initial values from a PDE
Posted 2012年5月31日 GMT-4 02:04 Studies & Solvers Version 4.2a 8 Replies
Please login with a confirmed email address before reporting spam
Hallo Comsol - expert,
I am trying to setup a transient simulation where the initial values of the dofs are
calculated in a dedicated physics node. All is in a 2-D plane.
The transient simulation is a PDE General Form ("g") with Hx, Hy as unknowns (think of
magnetic field strengths). I am interested in the transient behaviour starting from
a particular crafted initial state.
For the initial state I want to solve a stationary magnetis simulation ("mf", unknown Az).
From the solution I can derive the magnetic field strength (mf.Hx and mf.Hy) which are
the desired initial values for "g".
How can I transfer the output data of one physics section as initial values to anoteher
physics section?
I tried:
1. Study1 only solves "mf"
2. Study2 only solves in "g"
3. Study2 in the section "Values of variables that you do not solve for" I refer to Study1
(Method ="Solution" and Study="Study"
4. In "g" I use mf.Hx and mf.Hy as initial values.
BUT the initial values are all zero.
Does anyone have an idea to fix my approach or different ideas?
I could live with saving data to a file and reloading it.
Thanks for any hints.
Jens
I am trying to setup a transient simulation where the initial values of the dofs are
calculated in a dedicated physics node. All is in a 2-D plane.
The transient simulation is a PDE General Form ("g") with Hx, Hy as unknowns (think of
magnetic field strengths). I am interested in the transient behaviour starting from
a particular crafted initial state.
For the initial state I want to solve a stationary magnetis simulation ("mf", unknown Az).
From the solution I can derive the magnetic field strength (mf.Hx and mf.Hy) which are
the desired initial values for "g".
How can I transfer the output data of one physics section as initial values to anoteher
physics section?
I tried:
1. Study1 only solves "mf"
2. Study2 only solves in "g"
3. Study2 in the section "Values of variables that you do not solve for" I refer to Study1
(Method ="Solution" and Study="Study"
4. In "g" I use mf.Hx and mf.Hy as initial values.
BUT the initial values are all zero.
Does anyone have an idea to fix my approach or different ideas?
I could live with saving data to a file and reloading it.
Thanks for any hints.
Jens
8 Replies Last Post 2012年6月4日 GMT-4 05:27