CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Unable to use ideasUnvToFoam command

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2021, 03:46
Question Unable to use ideasUnvToFoam command
  #1
Member
 
Amal Chummar
Join Date: May 2021
Posts: 31
Rep Power: 4
CHUMMAR is on a distinguished road
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
Attached Images
File Type: jpg Screenshot from 2021-09-17 13-08-55.jpg (78.3 KB, 20 views)
CHUMMAR is offline   Reply With Quote

Old   September 21, 2021, 05:44
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,066
Rep Power: 26
Yann will become famous soon enough
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
Yann is online now   Reply With Quote

Old   March 4, 2022, 20:51
Default ideasUnvToFoam pipe.unv
  #3
New Member
 
Outside North America
Join Date: Nov 2021
Posts: 14
Rep Power: 4
Tian Hongkang is on a distinguished road
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
Tian Hongkang is offline   Reply With Quote

Old   October 24, 2023, 18:02
Default OpenFOAM Meshing & Mesh Conversion
  #4
New Member
 
Sindambiwe Chance
Join Date: Oct 2023
Posts: 1
Rep Power: 0
Chance s is on a distinguished road
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]
Chance s is offline   Reply With Quote

Old   October 25, 2023, 03:13
Default
  #5
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,066
Rep Power: 26
Yann will become famous soon enough
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
The OpenFOAM installation directory depends on the OpenFOAM version you are using. (and the way you installed OpenFOAM)

Yann
Yann is online now   Reply With Quote

Reply

Tags
salometoopenfoam, unvtofoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Salome] ideasUnvToFoam Error: Assertion `nouveau > -1' failed GerhardHolzinger OpenFOAM Meshing & Mesh Conversion 0 January 29, 2019 10:23
How to import and run command file (*.enc) using FlowSight automatically? brucecumt FLOW-3D 1 November 21, 2016 06:58
EnSight - queue of command files and abaqus post-processing Delcraft EnSight 1 June 1, 2016 16:38
"if" command in CFX-13 is not really an "if" command!!!! mohammad CFX 4 September 26, 2013 07:10
8x icoFoam speed up with Cufflink CUDA solver library kmooney OpenFOAM Running, Solving & CFD 42 November 6, 2012 11:37


All times are GMT -4. The time now is 12:28.