CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   OpenFoam beginer (http://www.cfd-online.com/Forums/openfoam/121269-openfoam-beginer.html)

monty86 July 25, 2013 02:45

OpenFoam beginer
 
Dear all,
I am Phd student, i want to do CFD model for two phase mixing problem.
I am new to openFom. i went through some tutorials that mentioned in openFoam user guide & also run some cases in OpenFoam. I want your valuable guidance regarding how should i proceed on my problem? Is any literature or demo available for how to start the work? How to define & mention my mixing case in openFoam?

Artur July 25, 2013 09:49

I suggest looking at multiphase tutorials, especially:
- interMixingFoam
- twoLiquidMixingFoam
- interDyMFoam (there are quite a few tutorials in this one)

Also, in incompressible/pimpleDyMFoam/mixerVesselAMI2D. Perhaps the propeller tutorial in the same directory as well, depending on what exactly you'll be doing.

elvis July 30, 2013 02:21

Hi,

http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/
MSc/PhD course in CFD with OpenSource software, 2013
also read the courses of the previous years 2012 back to 2007 http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2012
http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2007

http://www.openfoamworkshop2013.org/...p?Main=2&sub=1 8th OF workshop with training courses @ day 1
there might be valueable presentations on your topic
once again to a look at the workshops of the previous years it contains training material & valueable presentations as well
http://www.openfoamworkshop2013.org/...p?Main=1&sub=2

If you become quite familare with OpenFOAM and you have applied successfully
you might get the chance to attend OpenFOAM SummerSchool http://www.cfd-online.com/Forums/ope...ol-2011-a.html (just found that link Summer school usually takes place every year)

monty86 August 16, 2013 03:26

Quote:

Originally Posted by Artur (Post 441948)
I suggest looking at multiphase tutorials, especially:
- interMixingFoam
- twoLiquidMixingFoam
- interDyMFoam (there are quite a few tutorials in this one)

Also, in incompressible/pimpleDyMFoam/mixerVesselAMI2D. Perhaps the propeller tutorial in the same directory as well, depending on what exactly you'll be doing.

Dear Artur,
As per your suggestion i tried t check the above mention tutorials, but when i am tryinig to run the tutorials by blockMesh command after that following error occured,here i am attaching the error message. i am not able understand what does it mean.

sloshingTank2D# cd $FOAM_RUN/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D
root@PU-LT-~/OpenFOAM/root-2.2.0/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D# blockMesh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0-5be49240882f
Exec : blockMesh
Date : Aug 16 2013
Time : 09:13:18
Host : "PU-LT-"
PID : 2404
Case : /root/OpenFOAM/root-2.2.0/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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



--> FOAM FATAL ERROR:
Cannot open mesh description file
"/root/OpenFOAM/root-2.2.0/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/polyMesh/blockMeshDict"


From function blockMesh
in file blockMeshApp.C at line 137.

FOAM exiting

root@PU-LT-:~/OpenFOAM/root-2.2.0/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D# ^C
root@PU-LT-:~/OpenFOAM/root-2.2.0/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D#

akidess August 16, 2013 03:40

That tutorial case requires an extra step before running blockMesh. Check the accompanying Allrun file.

Artur August 16, 2013 03:55

Quote:

Originally Posted by monty86 (Post 446040)
Cannot open mesh description file
"/root/OpenFOAM/root-2.2.0/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/constant/polyMesh/blockMeshDict"

I think it's useful to learn from the start to read the error logs carefully because they are actually meant to help you understand what is wrong. By looking at this one it stands out that the blockMesh dictionary file is missing.

Just as the previous reply said, you need to run this command first to remedy this, as shown in the Allrun script:

Code:

m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
which simply creates the dictionary file.

monty86 August 16, 2013 03:59

Quote:

Originally Posted by akidess (Post 446044)
That tutorial case requires an extra step before running blockMesh. Check the accompanying Allrun file.


Thanks alot. i checked that command & now its running

monty86 August 16, 2013 04:01

Quote:

Originally Posted by Artur (Post 446048)
I think it's useful to learn from the start to read the error logs carefully because they are actually meant to help you understand what is wrong. By looking at this one it stands out that the blockMesh dictionary file is missing.

Just as the previous reply said, you need to run this command first to remedy this, as shown in the Allrun script:

Code:

m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
which simply creates the dictionary file.

Thanks Artur.., i was unware ot this command as this command is not mentioned in userguide. In case of any difficulty I will get back to you for your help

Mojtaba.a August 16, 2013 05:14

Check this out:

2013 UNIGE Introductory OpenFOAM course-training:
http://www.dicat.unige.it/guerrero/O...ourse2013.html

As a FOAM learner I got lots of useful tips in there.


Best.

monty86 August 19, 2013 00:51

Quote:

Originally Posted by Mojtaba.a (Post 446061)
Check this out:

2013 UNIGE Introductory OpenFOAM course-training:
http://www.dicat.unige.it/guerrero/O...ourse2013.html

As a FOAM learner I got lots of useful tips in there.


Best.

Dear sir,
Thanks for your suggestion, but i am not able to view or download these documents. Please can you suggest any alternate route for these documents?

Mojtaba.a August 19, 2013 10:23

Quote:

Originally Posted by monty86 (Post 446536)
Dear sir,
Thanks for your suggestion, but i am not able to view or download these documents. Please can you suggest any alternate route for these documents?

Are you sure? I just checked the download links and they are ok.

Artur August 19, 2013 10:55

Quote:

Originally Posted by Mojtaba.a (Post 446656)
Are you sure? I just checked the download links and they are ok.

Same here, downloaded without any problems using chrome and firefox

monty86 August 19, 2013 23:42

Quote:

Originally Posted by Mojtaba.a (Post 446656)
Are you sure? I just checked the download links and they are ok.

Sorry.. Problem was with my system. Its working now.

monty86 September 2, 2013 05:50

Quote:

Originally Posted by Mojtaba.a (Post 446656)
Are you sure? I just checked the download links and they are ok.

Hello sir,
Now i am trying to study single phase fluid flow in anchor type agitated vessel as a case to learn more about openFoam. i came to know that i must generate stl file of geometry. can you suggest me how can i proceed & generate ctl file with autocad? i heard about salome but its looking tedious job.

Mojtaba.a September 2, 2013 06:57

Quote:

Originally Posted by monty86 (Post 449328)
Hello sir,
Now i am trying to study single phase fluid flow in anchor type agitated vessel as a case to learn more about openFoam. i came to know that i must generate stl file of geometry. can you suggest me how can i proceed & generate ctl file with autocad? i heard about salome but its looking tedious job.

Well, I think you have got to just export your file with .stl format.
You can use any other CAD programs to do such a thing.

Best

monty86 September 2, 2013 07:04

Quote:

Originally Posted by Mojtaba.a (Post 449338)
Well, I think you have got to just export your file with .stl format.
You can use any other CAD programs to do such a thing.

Best

My problem is that i have only 2D geometry in CAD, I dont know how to develop 3D geometry in AutoCAD. I am also not much aware about other software. can u help out me which software or route will be simple as i am running out of time for my work?

Mojtaba.a September 2, 2013 13:29

Quote:

Originally Posted by monty86 (Post 449339)
My problem is that i have only 2D geometry in CAD, I dont know how to develop 3D geometry in AutoCAD. I am also not much aware about other software. can u help out me which software or route will be simple as i am running out of time for my work?

I am not familiar with AutoCAD. There is no need to make it 3D, you just need 2D surfaces in order to get it used with snappyHexMesh.

Right now I am using Solidworks for generating my CAD geometry. Its handy and powerful.

monty86 September 2, 2013 23:39

Quote:

Originally Posted by Mojtaba.a (Post 449409)
I am not familiar with AutoCAD. There is no need to make it 3D, you just need 2D surfaces in order to get it used with snappyHexMesh.

Right now I am using Solidworks for generating my CAD geometry. Its handy and powerful.

Thank you sir. I will try this

monty86 September 6, 2013 00:25

Quote:

Originally Posted by monty86 (Post 449463)
Thank you sir. I will try this

Dear sir,
Is there any free soliwork version available? if yes please send me link to donload it..,

Mojtaba.a September 6, 2013 01:48

Quote:

Originally Posted by monty86 (Post 450143)
Dear sir,
Is there any free soliwork version available? if yes please send me link to donload it..,

Well unfortunately it is a commercial software and you have to get a license to use it.


All times are GMT -4. The time now is 20:38.