CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

Same mesh on inlet and outlet

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 21, 2008, 04:18
Default Hi everyone! I want to make
  #1
New Member
 
Henning Wilhelmi
Join Date: Mar 2009
Posts: 11
Rep Power: 8
henning is on a distinguished road
Hi everyone!

I want to make a channelOodle case with a pipe generated in netgen (tet mesh). Converting is not a problem (except patch 0 has 0 faces so I just deleded it) but when I run the channelOodles command I get:

Attempt to cast type patch to type lduInterface#0 Foam::error::printStack(Foam:stream&) in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam:stream& Foam::operator<<>(Foam:stream&, Foam::errorManip<foam::error>) in "/home/fs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/channelOodles"
#3 Foam::lduInterface const& Foam::refCast<foam::lduinterface>(Foam::fvPatch const&) in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libfiniteVolume.so"
#4 Foam::cyclicFvPatchField<double>::cyclicFvPatchFie ld(Foam::fvPatch const&, Foam::DimensionedField<double,> const&, Foam::dictionary const&) in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libfiniteVolume.so"
#5 Foam::fvPatchField<double>::adddictionaryConstruct orToTable<foam::cyclicfvpatchf ield<double> >::New(Foam::fvPatch const&, Foam::DimensionedField<double,> const&, Foam::dictionary const&) in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libfiniteVolume.so"
#6 Foam::fvPatchField<double>::New(Foam::fvPatch const&, Foam::DimensionedField<double,> const&, Foam::dictionary const&) in "/home/fs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/channelOodles"
#7 Foam::GeometricField<double,>::GeometricBoundaryFi eld::GeometricBoundaryField(Fo am::fvBoundaryMesh const&, Foam::DimensionedField<double,> const&, Foam::dictionary const&) in "/home/fs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/channelOodles"
#8 Foam::GeometricField<double,>::readField(Foam::Ist ream&) in "/home/fs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/channelOodles"
#9 Foam::GeometricField<double,>::GeometricField(Foam ::IOobject const&, Foam::fvMesh const&) in "/home/fs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/channelOodles"
#10 main in "/home/fs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/channelOodles"
#11 __libc_start_main in "/lib64/libc.so.6"
#12 __gxx_personality_v0 in "/home/fs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/channelOodles"


From function refCast<to>(From&)
in file /home/fs/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/typeInfo.H at line 106.

FOAM aborting

Aborted





I assume it's because inlet (patch2) and outlet (patch3) don't have the same mesh on the surface.
So my question is: How to solve this problem? Maybe create the same mesh on in- and outlet? But how?

Thanks for your help

Henning =)
henning is offline   Reply With Quote

Old   November 27, 2008, 10:53
Default OK, I tried it in a different
  #2
New Member
 
Henning Wilhelmi
Join Date: Mar 2009
Posts: 11
Rep Power: 8
henning is on a distinguished road
OK, I tried it in a different way and now inlet and outlet are the same patch but dont have faces that directly blong to another and I get this:


face 0 area does not match neighbour 6912 by 1.62797% -- possible face ordering problem.
patch:inout my area:4.24561e-06 neighbour area:4.17705e-06 matching tolerance:0.001
Mesh face:1255168 vertices:3((0 0.044188 -0.086535) (0 0.046249 -0.088662) (0 0.043565 -0.090012))
Neighbour face:1262080 vertices:3((0.1 0.044152 0.086605) (0.1 0.046263 0.088655) (0.1 0.043578 0.090005))
Rerun with cyclic debug flag set for more information.

From function cyclicPolyPatch::calcTransforms()
in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 150.

FOAM exiting



Any suggestions on that would be great =)

Henning
henning is offline   Reply With Quote

Old   January 16, 2009, 04:36
Default i am new to openfoam. i need t
  #3
New Member
 
VIJAYAKUMAR R
Join Date: Mar 2009
Location: BANGALORE, KARNATAKA, INDIA
Posts: 20
Rep Power: 8
vijayakumar is on a distinguished road
i am new to openfoam. i need to solve a simple methane combustion problem............ which solver is bettter for combustion(XIFOAM, XOODELS so many is there) and please give me few guidelines to solve a combustion problem...
vijayakumar is offline   Reply With Quote

Old   January 16, 2009, 05:39
Default Personally I would use XiFoam
  #4
New Member
 
Henning Wilhelmi
Join Date: Mar 2009
Posts: 11
Rep Power: 8
henning is on a distinguished road
Personally I would use XiFoam for a first try and compare it to experimental results to see if it fits your needs. LES is a bit more realistic but also needs more time to be solved.
But I am quite new to CFD myself so be careful with that advice =)
henning is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
no inlet and outlet Ranap CFX 1 September 22, 2008 18:38
Could anybody help me about the specify inlet and outlet liugx212 OpenFOAM Running, Solving & CFD 4 February 13, 2006 11:53
Inlet-outlet BCs SUBHRA Main CFD Forum 0 June 3, 2004 20:15
one inlet and two outlet Fluenter FLUENT 2 March 28, 2004 23:23
use outlet as inlet Karin Phoenics 3 March 31, 2003 22:12


All times are GMT -4. The time now is 15:13.