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

[Other] Rocket tank modelisation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 22, 2014, 14:37
Default Rocket tank modelisation
  #1
New Member
 
guillaume
Join Date: Apr 2014
Posts: 2
Rep Power: 0
bayssetg is on a distinguished road
Hello,

I am a new OpenFoam user, and I have many difficulties to understand this software. I have to model a rocket tank, first I have to make the mesh:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(
(0 0 0)
(10 0 0)
(10 5 0)
(10 10 0)
(0 10 0)
(0 5 0)
(0 0 10)
(10 0 10)
(10 5 10)
(10 10 10)
(0 10 10)
(0 5 10)
);

blocks
(
hex (0 1 7 6 5 2 8 11) water (20 10 20) simpleGrading (1 1 1)
hex (5 2 8 11 4 3 9 10) air (20 10 20) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
up
{
type wall;
faces
(
(4 3 9 10)
);
}
down
{
type wall;
faces
(
(0 1 7 6)
);
}
Walls
{
type wall;
faces
(
(1 7 9 3)
(3 9 10 4)
(4 10 6 0)
(7 6 10 9)
);
}
);

mergePatchPairs
(
);

// ************************************************** *********************** //

I created two blocks, to model the liquid volume. But when I try to use blockMesh this error message appears:
FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam:olyMesh::facePatchFaceCells(Foam::List<Foam ::face> const&, Foam::List<Foam::List<int> > const&, Foam::List<Foam::List<Foam::face> > const&, int) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#3 Foam:olyMesh::setTopology(Foam::List<Foam::cellS hape> const&, Foam::List<Foam::List<Foam::face> > const&, Foam::List<Foam::word> const&, Foam::List<int>&, Foam::List<int>&, int&, int&, Foam::List<Foam::cell>&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4 Foam:olyMesh:olyMesh(Foam::IOobject const&, Foam::Xfer<Foam::Field<Foam::Vector<double> > > const&, Foam::List<Foam::cellShape> const&, Foam::List<Foam::List<Foam::face> > const&, Foam::List<Foam::word> const&, Foam::PtrList<Foam::dictionary> const&, Foam::word const&, Foam::word const&, bool) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#5 Foam::blockMesh::createTopology(Foam::IOdictionary const&, Foam::word const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libblockMesh.so"
#6 Foam::blockMesh::blockMesh(Foam::IOdictionary const&, Foam::word const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libblockMesh.so"
#7
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/blockMesh"
#8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/blockMesh"
Aborted (core dumped)


If someones could help me, i will be grateful.

Thanks

Guy
bayssetg 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
ANSYS Fluent Sloshing in baffled tank simulation Fisya CFD Freelancers 2 August 27, 2019 18:55
Need Help! High pressure Gas discharge from tank to tank through a pipe superarthur86 FLUENT 2 June 16, 2017 11:22
Tank refuelling simulation Bisht STAR-CCM+ 4 July 30, 2015 12:02
error messages about blockmeshing and solving cramsdead OpenFOAM Pre-Processing 2 November 11, 2014 11:53
Mixture and Decay of a tracer in a Water Tank Jeffrey1992 CFX 2 July 27, 2012 14:31


All times are GMT -4. The time now is 02:48.