Skip to content

bcube-project/BcubeVTK.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BcubeVTK.jl

Implementation of Bcube IO interface for VTK format. Checkout the relative Bcube documentation for more infos.

For now, only the write_file interface is implemented.

Basic usage

using Bcube
using BcubeVTK

mesh = rectangle_mesh(10, 20)
U = TrialFESpace(FunctionSpace(:Lagrange, 1), mesh)
u = FEFunction(U)
projection_l2!(u, PhysicalFunction(x -> sum(x)), CellDomain(mesh))

write_file("output.pvd", mesh, Dict("u" => u, "grad_u" => (u)))

Limitations

  • The write_file has not been tested for hexahedral elements of order > 1

About

Implementation of `Bcube` IO interface for VTK format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages