Skip to content

Commit

Permalink
did cleaning for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Hua Tan committed Oct 2, 2024
1 parent 3971e64 commit d257a29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/incflo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,11 @@ void incflo::Evolve()
printGridSummary(amrex::OutStream(), 0, finest_level);
}
}
if(m_vof_advect_tracer){
get_volume_of_fluid()->output_droplet(m_cur_time,m_nstep);
// get_volume_of_fluid()->apply_velocity_field(m_cur_time,m_nstep);
if (writeNow()){
}
if (writeNow()&& m_vof_advect_tracer){
get_volume_of_fluid()->WriteTecPlotFile (m_cur_time,m_nstep);
get_volume_of_fluid()->write_tecplot_surface(m_cur_time,m_nstep);
}
Expand Down
2 changes: 1 addition & 1 deletion src/incflo_apply_predictor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void incflo::ApplyPredictor (bool incremental_projection)
#endif

// use vof to advect tracer
if (!incremental_projection)
if (!incremental_projection && m_vof_advect_tracer)
tracer_vof_advection(get_tracer_new (), AMREX_D_DECL(GetVecOfConstPtrs(u_mac), GetVecOfConstPtrs(v_mac),
GetVecOfConstPtrs(w_mac)));

Expand Down

0 comments on commit d257a29

Please sign in to comment.