Question with saving data on boundary

11 weeks ago by
Dear friends,

I am using FEniCS doing some fluid simulation. I have some problems when I try to get and save the data on boundary in parallel. I create the function and function space on boundary first, and then I interpolate the results to the boundary. But this does not give correct results, I wonder whether there is another way to do this in FEniCS. The following code is used in my program. Hope you would provide some help. Thank you very much.

auto boundmesh = std::make_shared<BoundaryMesh> (*mesh, "local", true);
auto Qb= std::make_shared<bound:: FunctionSpace>(boundmesh );
auto unew = std::make_shared<Function>(Qb) ;

Yours sincerely,
Qiming Zhu
Community: FEniCS Project
Please login to add an answer/comment or follow this question.

Similar posts:
Search »