Unable to use ideasUnvToFoam command
1 Attachment(s)
I have been trying to convert a meshed file with the help of Salome to Openfoam. When i tried to look up videos on it all videos n threads explained it out using ideasUnvToFoam command. But for me it is showing as an invalid command. Could anyone PLS help me out. I am very new to Salome-Openfoam interface :confused:
|
Hi Amal,
It looks like your OpenFOAM environment is not loaded. Have you sourced it? What does it say if your type "foamVersion" or "icoFoam"? Yann |
ideasUnvToFoam pipe.unv
Hi, I have a problem with grid conversion. When I tried to convert the Unv grid file exported from Salome to a format supported by OpenFoam, it got the following error. Can someone give me a hand?
Thank you! thk@LAPTOP-04QGRRSQ:~/run/cavity$ ls 0 constant logs pipe.unv system thk@LAPTOP-04QGRRSQ:~/run/cavity$ ideasUnvToFoam pipe.unv /*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : 7-3bcbaf946ae9 Exec : ideasUnvToFoam pipe.unv Date : Mar 05 2022 Time : 09:31:20 Host : "LAPTOP-04QGRRSQ" PID : 677 I/O : uncollated Case : /home/thk/run/cavity nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM FATAL ERROR: Cannot open file "pipe.unv" From function int main(int, char**) in file ideasUnvToFoam.C at line 679. FOAM exiting |
OpenFOAM Meshing & Mesh Conversion
Hello,
i need your quick support on this command <ideasUnvToFoam> i want to convert this unv file but am getting error of command not foun yet I alread installed whole softwre chance@DESKTOP-Chance:~$ ls OpenFOAM elbow_joint chance@DESKTOP-Chance:~$ OpenFOAM OpenFOAM: command not found chance@DESKTOP-Chance:~$ cd OpenFOAM/ chance@DESKTOP-Chance:~/OpenFOAM$ ls PROO chance-v2306 chance@DESKTOP-Chance:~/OpenFOAM$ cd PROO/ chance@DESKTOP-Chance:~/OpenFOAM/PROO$ ideasUnvToFoam Mesh_1 for CAD1.unv Command 'ideasUnvToFoam' not found, but can be installed with: sudo apt install openfoam[/QUOTE] |
Hello,
Before using OpenFOAM-related commands, you need to load the OpenFOAM environment by sourcing the bashrc file located in your OpenFOAM installation directory. Something like: Code:
source [PATH_TO_YOUR_OPENFOAM_INSTALLATION_DIRECTORY]/etc/bashrc Yann |
All times are GMT -4. The time now is 07:21. |