Validating AMR-Wind inputs #417
lawrenceccheung
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm working on some python code to make it easier for users to setup, visualize, and postprocess AMR-Wind cases (if you're interested, see https://github.com/lawrenceccheung/amrwind-frontend). One of the features @psakievich, @ndevelder, and I were thinking to include is a way to validate the input file before the case gets run -- basically check for silly mistakes or inconsistencies before precious queue time or CPU-hrs get wasted.
Here's an incomplete list of items I was thinking to check through the script
amr.max_level
against tagging refinement levelssampling
,tagging
, andactuator
sections all have the correct inputs (no missing fields)For AcutatorFast runs:
Actuator.TurbineFastLine.density
matchesincflo.density
ICNS.source_terms
=ActuatorForcing
andincflo.physics
hasActuator
CompInflow=2
in fst fileWakeMod=0
in Aerodyn inputLet me know if there's any others you can think of and would like to include. Some of these we can check in the code itself, at the pre-processing stage, or both.
Cheers,
Lawrence
Beta Was this translation helpful? Give feedback.
All reactions