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

[Netgen] Same mesh on inlet and outlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2008, 04:18
Default Same mesh on inlet and outlet
  #1
New Member
 
Henning Wilhelmi
Join Date: Mar 2009
Posts: 11
Rep Power: 17
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: 17
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: 17
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: 17
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


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
Reversed flow using pressure inlet and outlet? here_for_help FLUENT 0 September 28, 2018 16:20
Fan simulation with inlet and outlet duct for finding fan curve chaudhry_hashim FLUENT 0 August 6, 2014 11:49
flow around a circular cylinder with velocity inlet and outflow outlet shuoxue OpenFOAM 1 March 3, 2014 11:42
flow around a circular cylinder with velocity inlet and outflow outlet shuoxue OpenFOAM Running, Solving & CFD 0 November 2, 2013 05:32
Inlet and Outlet b.c. based on mass flux Hale OpenFOAM Pre-Processing 2 August 9, 2013 03:26


All times are GMT -4. The time now is 06:07.