-
-
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.
- JACOBI Convergence Issue in ANSYS AQWA
- Is it able to solve turbomachinery using density-based solver in Fluent?
- Two-way FSI simulation
- Ensight Force_per_unit area_EV
- RIBBON WINDOW DISAPPEARED
- Fluent Meshing Error when .dsco not .stp
- Ansys Fluent for modelling Ocean Wave reactions to Wave Barriers
- Battery Pack cooling
- ISAT ABORT error
- UNASSIGNED INTERFACE ZONE DETECTED FOR INTERFACE…
-
4597
-
1495
-
1386
-
1209
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.