carmelog's picture
init: magnetohydrodynamics with physicsnemo
830a558
# SPDX-FileCopyrightText: Copyright (c) 2023 - 2024 NVIDIA CORPORATION & AFFILIATES.
# SPDX-FileCopyrightText: All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
Lx: 1.0 # Length of domain in x direction
Ly: 1.0 # Length of domain in y direction
Nx: 128 # Number of points in x direction
Ny: 128 # Number of points in y direction
Schmidt: 1.0 # Schmit number
rho0: 1.0 # Density of fluid
dealias: 1.5 # Dealiasing factor
tend: 1.0 # End time of simulation
Dt: 1.0e-3 # Timestep size
timestepper: dedalus.public.RK443 # Timestepper type
max_timestep: 1.0e-2 # Maximum timestep for CFL control
output_dt: 1.0e-2 # Time between outputs
log_iter: 10 # Iterations between logging
dtype: numpy.float64 # Datatype for simulation
max_writes: null # Maximum file writes
L: 1.0 # Length of domain for generating data
l_u: 0.1 # Length of typical spatial deviations for velocity potential
l_A: 0.1 # Length of typical spatial deviations for magnetic vector potential
sigma_u: 0.1 # Typical amplitude of velocity potential
sigma_A: 0.5e-3 # Typical amplitude of magnetic vector potential
Nu: null # Smoothness parameter for GRF
use_cfl: false # Whether to use timestep computed based on CFL
skip_exists: true # Skip existing output files