GalerkinToolkit.jl icon indicating copy to clipboard operation
GalerkinToolkit.jl copied to clipboard

visualizing two level mesh with square periodic unit cell

Open jfdev001 opened this issue 1 year ago • 4 comments
trafficstars

Commit 539e79b371fefd02372bcb5343b4f9c0a35e71ef adds two new vectors: coarse_cell_permuted_fine_node_to_final_node (this was originally called coarse_cell_fine_node_to_final_node but I renamed it) and coarse_cell_unpermuted_fine_node_to_final_node. The coarse_cell_unpermuted_fine_node_to_final_node is used to get the coordinate mapping of fine nodes; however, the resulting visualization does not match what is expected. There appears to still be some sort of "rotation" occurring just based on the paraview image (see attached). To reproduce this, run the below and open 20240305-periodic-final-gmsh.vtu in paraview

julia> include("example.jl")
julia> TMP.test_two_level_mesh_with_square_periodic_unit_cell()

image

jfdev001 avatar Mar 06 '24 09:03 jfdev001