Re: [deal.II] Output multiple fields with different discretization

2020-08-09 Thread Wolfgang Bangerth
>dataOutDisp.add_data_vector(solution.block(0), [...] > ... A probable solution could be to create a new DOfHandler during each output call for both the displacement as well as the phase-field and attach the respective solution blocks to their DofHandlers. Not sure this would work

Re: [deal.II] Output multiple fields with different discretization

2020-08-09 Thread Paras Kumar
Hi Wolfgang, Thank you for the quick response. I am fine with writing the displacement and the crack phase-field in separate files, as long as the objective of visualizing the phase-field on the deformed mesh is achieved. Listed below are two possible ways of doing this (along with the

Re: [deal.II] Output multiple fields with different discretization

2020-08-07 Thread Wolfgang Bangerth
On 8/7/20 11:20 AM, Paras Kumar wrote: I have a query regarding writing the solution to a VTK file for visualization with PARAVIEW.  If one wanted to do this via a mapping based on the displacement field, then one could simply follow the output_results() function of step-44. My question is

[deal.II] Output multiple fields with different discretization

2020-08-07 Thread Paras Kumar
Dear Deal.II Community, I am trying to model the phase-field fracture problem, which, essentially is a multi field problem involving a vector valued displacement field coupled with a scalar crack phase-field. Both the variables are approximated using FE_Q type ansatz but the polynomial degree