Skip to content

netcdf turbulence reading rule in amrwind #1763

@QB-Lin

Description

@QB-Lin

In AMR-Wind, I used the netcdf file to provide turbulence inflow

ABL.bndry_file = ../netcdf/bndry_file.nc # bndry_file.nc #bndry_file.native
ABL.bndry_io_mode = 1 # 0 = write, 1 = read, -1 = no use
ABL.bndry_planes = xlo
ABL.bndry_output_start_time = 0.0
ABL.bndry_var_names = velocity # temperature
ABL.bndry_output_format = netcdf # netcdf or native

I set time step (dt) =1s in the time variable of my netcdf file, but the actual time step in amrwind is 0.2 s

Amrwind read netcdf according to the number of time step or the actual time value ?

I assume that at 10th time step, the actual time in amrwind simulation is 2 s

If Amrwind read netcdf according to the number of time step, the netcdf turbulence data at the 10 th time step (10 s) is extracted.

If Amrwind read netcdf according to the actual time value, the netcdf turbulence data at the 2nd time step (2 s) is extracted. If there is no t = 2 s data, amrwind will make linear intepolation.

Which is correct?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions