-
-
April 1, 2025 at 8:42 am
osh876
SubscriberHi,
I'm struggling to run fluent on an hpc. I keep getting a AWP_ROOT error. Any help would be much appreciated.
Batch script:
#!/bin/bash
#SBATCH --nodes 1
#SBATCH --ntasks 60
#SBATCH --qos bbdefault
#SBATCH --time 04:00:00
#SBATCH --mail-type=ALL
#SBATCH -J meshing_fluentset -e
module purge
module load bluebear
module load slurm-helpers
module load bear-apps/2022a
module load ANSYS/2023R1
module load Python/3.10.4-GCCcore-11.3.0
NODEFILE=$(make_nodefile)
echo "Nodefile created at: $NODEFILE"
export VENV_DIR="${HOME}/virtual-environments"
export VENV_PATH="${VENV_DIR}/pyfluent-env-${BB_CPU}"
mkdir -p ${VENV_DIR}
if [[ ! -d ${VENV_PATH} ]]; then
  python3 -m venv --system-site-packages ${VENV_PATH}
fi
source ${VENV_PATH}/bin/activate
export PIP_CACHE_DIR="/scratch/${USER}/pip"
python -m pip install --upgrade pip
pip install ansys-fluent-coreÂ
pip install ansys-fluent-visualization
python VOF_Meshing_and_solver_loop.pystart of my pyfluent file:
import ansys.fluent.core as pyfluent
from ansys.fluent.visualization import Contour, GraphicsWindow, set_config
import os
import time# Start Fluent meshing
      meshing = pyfluent.launch_fluent(
        mode="meshing",
        product_version="23.1.0",
        version="3d",
        precision=pyfluent.Precision.DOUBLE,
        processor_count=4,
        show_gui=False,
        cleanup_on_exit=False,
        cwd=output_directory
      )
      Â
      Â      Â
Â
-
April 2, 2025 at 12:56 pm
V.P
Ansys EmployeeHi osh876,
This seems to be PyFluent related configuration issue.
PyAnsys project is developed and supported through GitHub. You can post issues and request new features on the the Issues page for each package, or contact PyAnsys support. For more details, please refer to PyAnsys GitHub page: https://github.com/pyansys
-
- You must be logged in to reply to this topic.
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- I am doing a corona simulation. But particles are not spreading.
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
3862
-
1414
-
1231
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.