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

PLease somebody help:problem while changing blockMeshDict file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2010, 07:49
Default PLease somebody help:problem while changing blockMeshDict file
  #1
Member
 
Vivek Gupta
Join Date: May 2010
Posts: 36
Rep Power: 16
vivek070176 is on a distinguished road
I am using openfoam 1.6 on opensuse 10.3 and i am working using dieselFoamsolver.....when i tried to run the aachen bomb case it worked fine using the following blockmesh dict file::


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

convertToMeters 0.001;

vertices
(
(-10 0 -10)
(-10 0 10)
(10 0 10)
(10 0 -10)
(-10 100 -10)
(-10 100 10)
(10 100 10)
(10 100 -10)
);

blocks
(
hex (0 1 2 3 4 5 6 7) (41 41 100) simpleGrading (1 1 1)
);

edges
(
);

patches
(
wall walls
(
(2 6 5 1)
(0 4 7 3)
(0 1 5 4)
(4 5 6 7)
(7 6 2 3)
(3 2 1 0)
)
);

mergePatchPairs
(
);

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



NOW I TRIED TO CHANGE THE BLOCKMESHDICT FILE TO::


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

convertToMeters 0.001;

vertices
(
// (Y Z X)
// Quader aussen
(-10 50 -10)
(-10 50 10)
(10 50 10)
(10 50 -10)
(-10 100 -10)
(-10 100 10)
(10 100 10)
(10 100 -10)
// Quader innen
(-4 50 -4)
(-4 50 4)
(4 50 4)
(4 50 -4)
(-4 100 -4)
(-4 100 4)
(4 100 4)
(4 100 -4)


);

blocks
(
// Innenblock
hex (8 9 10 11 12 13 14 15) (25 25 50) simpleGrading (1 1 1)
// Innenblock für enge Geometrie nur mit innerem Block
// hex (0 1 2 3 4 5 6 7) (25 25 35) simpleGrading (1 1 1)
// Randbloecke (Punkte) Vernetzung(X Y Z) NetzGrade(X Y Z)
hex (0 1 9 8 4 5 13 12) (25 10 50) simpleGrading (1 0.5 1)
hex (1 2 10 9 5 6 14 13) (25 10 50) simpleGrading (1 0.5 1)
hex (2 3 11 10 6 7 15 14) (25 10 50) simpleGrading (1 0.5 1)
hex (3 0 8 11 7 4 12 15) (25 10 50) simpleGrading (1 0.5 1)

);

edges
(
);

patches
(
wall walls
(
// Waende: Rechte-Hand-Regel, Punkte Drehsinn so, dass Wand nach außen orientiert
// oben
(4 5 13 12)
(5 6 14 13)
(6 7 15 14)
(7 4 12 15)
(12 13 14 15)
//unten
(0 8 9 1)
(1 9 10 2)
(2 10 11 3)
(3 11 8 0)
(8 11 10 9)
//Seiten
(0 1 5 4)
(1 2 6 5)
(2 3 7 6)
(3 0 4 7)
//Seiten für enge Geometrie nur mit innerem Block
// (0 3 2 1)
// (4 5 6 7)
)
);

mergePatchPairs
(
);

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



Solver worked fine upto certain timesteps but after time 700 microseconds, it showed an error ::






cfd@linux-bw7o:~/OpenFOAM/cfd-1.6/run/aachen_enno_blockmesh> mpirun -np 4 diesel
Foam -parallel > log &
[1] 6687
cfd@linux-bw7o:~/OpenFOAM/cfd-1.6/run/aachen_enno_blockmesh> [3] #0 Foam::error
:rintStack(Foam::Ostream&) in "/home/cfd/OpenFOAM/OpenFOAM-1.6/lib/linux64GccD
POpt/libOpenFOAM.so"
[3] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/cfd/OpenFOAM/OpenFOAM-1.6/lib
/linux64GccDPOpt/libOpenFOAM.so"
[3] #2 ?? in "/lib64/libc.so.6"
[3] #3 Foam::RanzMarshall::relaxationTime(double, double, double, double, doubl
e, double) const in "/home/cfd/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libdies elSpray.so"
[3] #4 Uninterpreted:
[linux-bw7o:06694] *** Process received signal ***
[linux-bw7o:06694] Signal: Floating point exception (8)
[linux-bw7o:06694] Signal code: (-6)
[linux-bw7o:06694] Failing at address: 0x3e800001a26
[linux-bw7o:06694] [ 0] /lib64/libc.so.6 [0x2b58661c7bd0]
[linux-bw7o:06694] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x2b58661c7b45]
[linux-bw7o:06694] [ 2] /lib64/libc.so.6 [0x2b58661c7bd0]
[linux-bw7o:06694] [ 3] /home/cfd/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libd ieselSpray.so(_ZNK4Foam12RanzMarshall14relaxationT imeEdddddd+0x64) [0x2b5862c689 34]
[linux-bw7o:06694] [ 4] [0x1ffedd0]
[linux-bw7o:06694] *** End of error message ***
[2] #0 Foam::error:rintStack(Foam::Ostream&)--------------------------------- -----------------------------------------
mpirun noticed that process rank 3 with PID 6694 on node linux-bw7o exited on si gnal 8 (Floating point exception).
--------------------------------------------------------------------------
in "/home/cfd/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
[2] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/cfd/OpenFOAM/OpenFOAM-1.6/lib /linux64GccDPOpt/libOpenFOAM.so"





I Want to change my mesh since then calculations are more fast.....PLEASE HELP ME!!
vivek070176 is offline   Reply With Quote

Old   June 11, 2010, 18:51
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Vivek,

You should have posted in this particular section of the forum: OpenFOAM Meshing: blockMesh

Since you have posted in the OpenFOAM Installation section, it's less likely that you will get a proper answer to your problem

Personally I'm not very experienced with blockMesh, so I can't help you with your current problem

Best regards,
Bruno
__________________
wyldckat 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
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
[OpenFOAM] Paraview command not found hardy ParaView 7 September 18, 2008 05:59
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 07:43
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 04:33.