Hello, I have a question about the setting of coefficients. We are currently trying to solve a diffusion problem with variable coefficients. Is there a way to set a new value for the coefficients in every time step? See schematic example below:
eq = TransientTerm() == DiffusionTerm(coeff=myCoeff1) -
DiffusionTerm((coeff=myCoeff2,myCoeff3))
while t < duration:
myCoeff1 = someNewValue
myCoeff2 = someNewValue
myCoeff3 = someNewValue
eq.solve(var=phi, dt=dt)
Best Regards
Thomas Barkar
[Beskrivning: kth_rgb_indu_tek_mana]
Thomas Barkar
Ph.D. Student
KTH Royal Institute of Technology
Department of Materials Science and Engineering
Division of Physical Metallurgy
Vinn Excellence Center Hero-m
Brinellvägen 23, SE-100 44 Stockholm, Sweden
Mobile: +46-723 151 404
[email protected], www.kth.se, www.hero-m.mse.kth.se
<<inline: image001.jpg>>
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
