On Wed, Jun 12, 2013 at 6:37 AM, John Assael <[email protected]> wrote:
> Thank you very much its working! > Great! > What I m trying to do is simulate results from COMSOL with FiPy, however > although I have a small time step 2E-04, I cannot make a perfect fit. So, I > suppose its the mesh... Is there anyway to optimize it without trial and > error as there are many faces? > Ideally, refining the meshes for both codes would bring the results into agreement, but there are reasons why this might not necessarily be the case. For example, FiPy will have error associated with non-orthogonality in the mesh. COMSOL may have ways to handle this, which reduces its error (maybe these corrections can be switched on and off in COMSOL). There could also be different solution tolerances, solvers and other control parameters. As a starting point, using exactly the same mesh for both FiPy and COMSOL would be a good place to start if that's possible. -- Daniel Wheeler
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
