CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] ideasUnvToFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2024, 02:13
Default ideasUnvToFoam
  #1
New Member
 
onurlands
Join Date: Feb 2024
Posts: 25
Rep Power: 2
onurcanpiskin is on a distinguished road
Hello, I made a mesh via Salome and when I want to import it, I get the error "controldict file not found". What do you think is the reason for this? How can I solve this problem?



MONSTER@DESKTOP-4N7IFAP MINGW64 OpenFOAM-4.x /c/Users/MONSTER/Desktop/serbest
$ ideasUnvToFoam.exe Mesh_1.unv
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
/* Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt *\
| Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com |
\*---------------------------------------------------------------------------*/
Build : 4.x-f59a08eaaf41
Exec : C:/PROGRA~1/BLUECF~1/OpenFOAM-4.x/platforms/mingw_w64GccDPInt32Opt/bin/ideasUnvToFoam.exe Mesh_1.unv
Date : Feb 22 2024
Time : 10:03:37
Host : "DESKTOP-4N7IFAP"
PID : 23228
Case : C:/Users/MONSTER/Desktop/serbest
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time



--> FOAM FATAL IO ERROR:
cannot find file

file: C:/Users/MONSTER/Desktop/serbest/system/controlDict at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 72.
onurcanpiskin is offline   Reply With Quote

Old   February 22, 2024, 03:01
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,083
Rep Power: 26
Yann will become famous soon enough
Hello,

You need to run the command from a directory using the OpenFOAM case structure, i.e. with a system directory containing a controlDict file.
Yann is offline   Reply With Quote

Old   February 22, 2024, 03:14
Default
  #3
New Member
 
onurlands
Join Date: Feb 2024
Posts: 25
Rep Power: 2
onurcanpiskin is on a distinguished road
Quote:
Originally Posted by Yann View Post
Hello,

You need to run the command from a directory using the OpenFOAM case structure, i.e. with a system directory containing a controlDict file.
Hello sir, I have a small problem. I will tell you everything. I would really appreciate it if you could help me.

My boundary volume is a cylinder and there is a sphere inside this cylinder. I want this sphere to fall to the ground under the influence of gravity. This is my problem.

Cylinder Radius: 15, Height: 50 , Sphere radius: 2.5



Can you help me write my dynamicMeshDict file

dynamicFvMesh dynamicMotionSolverFvMesh;

motionSolverLibs ( "libfvMotionSolvers.so" );

solver displacementLaplacian;

displacementLaplacianCoeffs
{
diffusivity uniform;
}

solidBodyMotionFvMeshCoeffs
{
cellZone innerCylinderSmall;

solidBodyMotionFunction freeFallMotion;
freeFallMotionCoeffs
{
origin (0 0 0);
velocity (0 0 -9.81); // 9.81 m/s^2 yerçekimi ivmesi kullanarak düşme hızını belirtir
}
}
onurcanpiskin is offline   Reply With Quote

Old   February 22, 2024, 03:16
Default
  #4
New Member
 
onurlands
Join Date: Feb 2024
Posts: 25
Rep Power: 2
onurcanpiskin is on a distinguished road
Quote:
Originally Posted by onurcanpiskin View Post
Hello sir, I have a small problem. I will tell you everything. I would really appreciate it if you could help me.

My boundary volume is a cylinder and there is a sphere inside this cylinder. I want this sphere to fall to the ground under the influence of gravity. This is my problem.

Cylinder Radius: 15, Height: 50 , Sphere radius: 2.5



Can you help me write my dynamicMeshDict file

dynamicFvMesh dynamicMotionSolverFvMesh;

motionSolverLibs ( "libfvMotionSolvers.so" );

solver displacementLaplacian;

displacementLaplacianCoeffs
{
diffusivity uniform;
}

solidBodyMotionFvMeshCoeffs
{
cellZone innerCylinderSmall;

solidBodyMotionFunction freeFallMotion;
freeFallMotionCoeffs
{
origin (0 0 0);
velocity (0 0 -9.81); // 9.81 m/s^2 yerçekimi ivmesi kullanarak düşme hızını belirtir
}
}
I solved the controldict error
onurcanpiskin is offline   Reply With Quote

Old   February 22, 2024, 03:33
Default
  #5
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,083
Rep Power: 26
Yann will become famous soon enough
Where did you get "freeFallMotion"?
AFAIK there is no such thing in solidBodyMotionFunction.

If you want to model a free fall, you should use sixDoFRigidBodyMotion instead. Have a look at the tutorials using it.
You can find it using this command:
Code:
grep -r "sixDoFRigidBodyMotion" $FOAM_TUTORIALS
Yann is offline   Reply With Quote

Reply


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 - big meshes malcolm.akner@hotmail.com OpenFOAM Meshing & Mesh Conversion 4 March 3, 2021 14:00
ideasUnvToFoam ----> failed Nic86 OpenFOAM 1 February 5, 2020 01:22
[Salome] ideasUnvToFoam Error: Assertion `nouveau > -1' failed GerhardHolzinger OpenFOAM Meshing & Mesh Conversion 0 January 29, 2019 10:23
[Salome] ideasUnvToFoam problem with internal groups s.marcocalero OpenFOAM Meshing & Mesh Conversion 0 May 31, 2013 11:48
[Salome] Problems with ideasUnvToFoam jonmec OpenFOAM Meshing & Mesh Conversion 2 March 30, 2011 16:46


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