Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Nov 4, 2024
1 parent 8d73e4c commit 4d1372c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Applications/cavity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ function _cavity(;
div_uh =·uh
writevtk(
Ω, joinpath(path,title), order=max(order,order_j),
cellfields=["uh" => uh, "ph" => ph, "jh" => jh, "phi" => φh, "div_jh" => div_jh, "div_uh" => div_uh]
cellfields=["uh" => uh, "ph" => ph, "jh" => jh, "phi" => φh, "div_jh" => div_jh, "div_uh" => div_uh],
append=false
)
toc!(t, "vtk")
end
Expand Down
2 changes: 1 addition & 1 deletion src/Applications/hunt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ function _hunt(;
if tw > 0.0
push!(cellfields,"σ"=>σ_Ω)
end
writevtk(Ω_phys,joinpath(path,title),order=max(order,order_j),cellfields=cellfields)
writevtk(Ω_phys,joinpath(path,title),order=max(order,order_j),cellfields=cellfields,append=false)
toc!(t,"vtk")
end
if verbose
Expand Down

0 comments on commit 4d1372c

Please sign in to comment.