You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simulation with a refinement zone that touches the boundary, and I am write to write out the BCs for this simulation to netCDF, but it's failing. Marc pointed out that there's a regression test that does the same thing, but it succeeds. If I make some reasonable modifications, the simulation fails with the following message:
Shear Stress model: moeng
Heat Flux model: moeng
Creating output NetCDF file: bndry_file.nc
NetCDF file created successfully: bndry_file.nc
Writing NetCDF file bndry_file.nc at time 0
terminate called after throwing an instance of 'std::runtime_error'
what(): Encountered NetCDF error; aborting
srun: error: x1006c0s4b1n1: task 177: Aborted (core dumped)
Here is the diff on abl.i:
9c9
< time.fixed_dt = 0.5 # Use this constant dt if > 0
---
> time.fixed_dt = 0.01 # 0.5 # Use this constant dt if > 0
52c52
< ABL.bndry_output_start_time = 2.0
---
> ABL.bndry_output_start_time = 0.0 # 2.0
58c58
< amr.n_cell = 48 48 48 # Grid cells at coarsest AMRlevel
---
> amr.n_cell = 320 320 240 # 48 48 48 # Grid cells at coarsest AMRlevel
If this is a segfault, a stack trace from a debug build (paste or attach):
This looks like a netCDF error?
Expected behavior
The simulation should not crash and should write out a boundary condition file in the netCDF format
AMR-Wind information
==============================================================================
AMR-Wind (https://github.com/exawind/amr-wind)
AMR-Wind version :: v3.2.0-21-g3e9d3a8b-DIRTY
AMR-Wind Git SHA :: 3e9d3a8b4704e98ab6691cefeea2d240d24bef3f-DIRTY
AMReX version :: 24.09-45-g6d9c25b989f1
Exec. time :: Sat Nov 30 08:28:59 2024
Build time :: Nov 20 2024 07:39:48
C++ compiler :: IntelLLVM 2023.2.0
MPI :: ON (Num. ranks = 192)
GPU :: OFF
OpenMP :: OFF
Enabled third-party libraries:
NetCDF 4.9.2
This software is released under the BSD 3-clause license.
See https://github.com/Exawind/amr-wind/blob/development/LICENSE for details.
------------------------------------------------------------------------------
The text was updated successfully, but these errors were encountered:
Bug description
I have a simulation with a refinement zone that touches the boundary, and I am write to write out the BCs for this simulation to netCDF, but it's failing. Marc pointed out that there's a regression test that does the same thing, but it succeeds. If I make some reasonable modifications, the simulation fails with the following message:
Here is the
diff
onabl.i
:I've also changed out
static_box.txt
:Side note: It looks weird to me that the original
static_box.txt
has refinement zones that start atx=-100
even thoughxlo=0
in these simulations.Other notes
amr.n_cell = 320 320 240
toamr.n_cell = 48 48 48
, the simulation runs fineABL.bndry_output_format = native
, the simulation runs fineamr.max_level = 0
, the simulation runs finestatic_box.txt
, the simulation runs fineSteps to reproduce
Steps to reproduce the behavior:
Kestrel
Input file attachments
failed_reg_test.zip
Error (paste or attach):
See
fail1.log
in the ZIPIf this is a segfault, a stack trace from a debug build (paste or attach):
This looks like a netCDF error?
Expected behavior
The simulation should not crash and should write out a boundary condition file in the netCDF format
AMR-Wind information
The text was updated successfully, but these errors were encountered: