paraFoam command not working in windows 10

Поділитися
Вставка
  • Опубліковано 14 лис 2024

КОМЕНТАРІ • 14

  • @SankarAcharya-fy8iv
    @SankarAcharya-fy8iv 5 місяців тому +1

    Thank you very much. However, when I type "notepad.exe ~/.bashrc" the message that bash: notepad.exe: command not found..." appears in the terminal. What could be the alternatives for it? Could you please suggest few ways to open notepad and trouble shoot my paraview issues.

    • @thatnicebee
      @thatnicebee 4 місяці тому

      same, not opening in notepad

  • @thatnicebee
    @thatnicebee 4 місяці тому

    alias paraviewWindows="touch simulation.foam && /mnt/C/Program\ Files/ParaView\5.13.0-RC1-Windows-python3.10-msvc2017-AMD64/bin/paraview.exe simulation.foam".I pasted this but does not working

  • @mayankthummar2603
    @mayankthummar2603 3 роки тому +1

    Hello sir, can you give me information about how openfoam works in parallel mode. I am using mpirun -np 8 simpleFoam -parallel command to use simpleFoam probelm in parallel mode using decomposePar (scotch: number of subdomain =8), but it shows the below error in windows terminal:
    Either request fewer slots for your application, or make more slots
    available for use.
    A "slot" is the Open MPI term for an allocatable unit where we can
    launch a process. The number of slots available are defined by the environment in which Open MPI processes are run:
    1. Hostfile, via "slots=N" clauses (N defaults to number of
    processor cores if not provided)
    2. The --host command line parameter, via a ":N" suffix on the
    hostname (N defaults to 1 if not provided)
    3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
    4. If none of a hostfile, the --host command line parameter, or an
    RM is present, Open MPI defaults to the number of processor cores
    In all the above cases, if you want Open MPI to default to the number
    of hardware threads instead of the number of processor cores, use the --use-hwthread-cpus option.
    In my PC i have 8GB RAM , 4 core and 8 logical processor.

    • @DDFluids
      @DDFluids  3 роки тому

      mpirun -np --use-hwthread-cpus 8 simpleFoam -parallel

    • @mayankthummar2603
      @mayankthummar2603 3 роки тому

      @@DDFluids it was not work and shows the below error message:
      Open MPI has detected that a parameter given to a command line
      option does not match the expected format:
      Option: np
      Param: --use-hwthread-cpus
      This is frequently caused by omitting to provide the parameter
      to an option that requires one. Please check the command line and try again.

    • @DDFluids
      @DDFluids  3 роки тому

      Try placing that extra parameter at the end of the command

  • @alifhafizzuddin
    @alifhafizzuddin Рік тому

    Thank you so much!

  • @moisessena1307
    @moisessena1307 Рік тому

    I can't find the zshrc file. Could you helpe me?

  • @KARTIKMEHTA
    @KARTIKMEHTA 3 роки тому

    Add to the bashrc > (without >)
    In above line if we replace "alias paraviewWindows" with "alias paraFoam", than will it work? Have you tried?
    And videos are amazing & informative.

    • @DDFluids
      @DDFluids  3 роки тому +1

      There are chances to clash with the existing paraFoam command. But you can name it "ParaFoam" capital P.

    • @KARTIKMEHTA
      @KARTIKMEHTA 3 роки тому

      Yes.. it is working.. much easier now.. no need to remember one more command

    • @KARTIKMEHTA
      @KARTIKMEHTA 3 роки тому

      @@DDFluids I will change it .. thanks for the advice