As I guess you noticed, TransientRBConstruction has some functionality to
read in an initial condition from an Xdr file. You can make an Xdr file in
libMesh by generating a solution (e.g. by projection a function via
project_solution) and writing it out, via EquationSystems::write().
However, it's been a long time since I used this functionality
TransientRBConstruction so I don't remember exactly which approach you
should use to generate this initial condition, so you may have to
experiment a bit, and I can help further if needed.

Best regards,
David



On Thu, Jan 23, 2020 at 8:27 AM Nikhil Vaidya <nikhilvaidy...@gmail.com>
wrote:

> Hello,
>
> I am using the reduced basis module. I need to provide a nonzero intial
> condition. How can I write an XDR file for this?
>
> Best regards,
> Nikhil Vaidya
>
> _______________________________________________
> Libmesh-users mailing list
> Libmesh-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>

_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to