CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

timeVaryingMappedFixedValue boundary condition in parallel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2009, 13:54
Default timeVaryingMappedFixedValue boundary condition in parallel
  #1
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Hello World.

I was not able to decompose a case which used the timeVaryingMappedFixedValue boundary condition!

Does anybody know if it's possible to use this boundary condition in parallel?

sega
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   August 19, 2009, 14:15
Default
  #2
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Dear Sebastian,

it should work out of the box. There will be triangulated surfaces on every processor. But that's not something to worry about.

Henrik
henrik is offline   Reply With Quote

Old   August 20, 2009, 05:06
Default
  #3
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Thank you Henrik.

But I was not able to do so.
I got a segmentation fault when running the decomposer.
Is there some trick involved?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   August 25, 2009, 11:30
Default
  #4
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
I want to get back to my problem with decomposing a case with timeVaryingMappedFixedValue boundary conditions.

I got this message when running decomposePar

Code:
sega@deepblue:~/OpenFOAM/sega-1.5/run/arcSmall0$ decomposePar 
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.5                                   |
|   \\  /    A nd           | Web:      http://www.OpenFOAM.org               |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Exec   : decomposePar
Date   : Aug 25 2009
Time   : 16:22:49
Host   : deepblue
PID    : 4859
Case   : /home/sega/OpenFOAM/sega-1.5/run/arcSmall0
nProcs : 1

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

Time = 0
Create mesh

Calculating distribution of cells
Selecting decompositionMethod simple

Finished decomposition in 0.03 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Calculating processor boundary addressing

Distributing points to processors

Constructing processor meshes

Processor 0
    Number of cells = 4000
    Number of faces shared with processor 1 = 200
    Number of processor patches = 1
    Number of processor faces = 200
    Number of boundary faces = 1400

Processor 1
    Number of cells = 4000
    Number of faces shared with processor 0 = 200
    Number of processor patches = 1
    Number of processor faces = 200
    Number of boundary faces = 1400

Number of processor faces = 200
Max number of processor patches = 1
Max number of faces between processors = 200
#0  Foam::error::printStack(Foam::Ostream&) in "/home/sega/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#1  Foam::sigSegv::sigSegvHandler(int) in "/home/sega/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#2  ?? in "/lib/libc.so.6"
#3  vbedg(double, double, int, double*, int, int*, int*, int*, int*, int*, int*) in "/home/sega/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libmeshTools.so"
#4  dtris2(int, double*, int*, int*, int*) in "/home/sega/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libmeshTools.so"
#5  Foam::triSurfaceTools::delaunay2D(Foam::List<Foam::Vector2D<double> > const&) in "/home/sega/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libmeshTools.so"
#6  Foam::timeVaryingMappedFixedValueFvPatchField<double>::readSamplePoints() in "/home/sega/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libfiniteVolume.so"
#7  Foam::timeVaryingMappedFixedValueFvPatchField<double>::checkTable() in "/home/sega/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libfiniteVolume.so"
#8  Foam::timeVaryingMappedFixedValueFvPatchField<double>::updateCoeffs() in "/home/sega/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libfiniteVolume.so"
#9  Foam::timeVaryingMappedFixedValueFvPatchField<double>::timeVaryingMappedFixedValueFvPatchField(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/home/sega/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libfiniteVolume.so"
#10  Foam::fvPatchField<double>::adddictionaryConstructorToTable<Foam::timeVaryingMappedFixedValueFvPatchField<double> >::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/home/sega/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libfiniteVolume.so"
#11  Foam::fvPatchField<double>::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/home/sega/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/decomposePar"
#12  Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::GeometricBoundaryField(Foam::fvBoundaryMesh const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/home/sega/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/decomposePar"
#13  Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readField(Foam::Istream&) in "/home/sega/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/decomposePar"
#14  Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::fvMesh const&) in "/home/sega/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/decomposePar"
#15  void Foam::readFields<domainDecomposition, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >(domainDecomposition const&, Foam::IOobjectList const&, Foam::PtrList<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >&) in "/home/sega/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/decomposePar"
#16  main in "/home/sega/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/decomposePar"
#17  __libc_start_main in "/lib/libc.so.6"
#18  Foam::fvMesh::readUpdate() in "/home/sega/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/decomposePar"
Segmentation fault
I can't tell whats wrong in this case.
Please feel free to have a look at the case itself: http://therealsega.th.funpic.de/open...cSmall0.tar.gz

If you are talking about triangulation ... Do I have to switch one anything for it to work?!
All I was doing was collecting the necessary data for the boundary condition and setting them like this:

Code:
    f0      
    {
        type            timeVaryingMappedFixedValue;
        setAverage    off;
    }
So, where may be the fault?!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   August 27, 2009, 18:29
Default
  #5
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
icoFoam does not run with your point set either. Seems your pointset makes the triangulation routine fall over. Set the debug flag timeVaryingMappedFixedValue to 1 in the etc/controlDict. It will output a triangulation.stl which you can load into paraview for checking.
mattijs is offline   Reply With Quote

Old   August 28, 2009, 04:17
Default
  #6
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Quote:
Originally Posted by mattijs View Post
icoFoam does not run with your point set either. Seems your pointset makes the triangulation routine fall over. Set the debug flag timeVaryingMappedFixedValue to 1 in the etc/controlDict. It will output a triangulation.stl which you can load into paraview for checking.
I could narrow the problem down and have taken my questions concerning it to an other thread. Have a look:
http://www.cfd-online.com/Forums/ope...ixedvalue.html

(or maybe http://www.cfd-online.com/Forums/ope...tal-error.html)
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   June 25, 2012, 10:51
Default
  #7
Senior Member
 
Hisham's Avatar
 
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 17
Hisham is on a distinguished road
Hello Sebastian

I have a Seg Fault (fp) error in running a case in parallel that has a timeVarryingMapped BC that is divided. So I think it may be the cause of the error ... so how is your status on the topic???

Best regards
Hisham
Hisham is offline   Reply With Quote

Old   July 25, 2024, 22:57
Default timeVaryingMappedFixedValue with decomposePar
  #8
New Member
 
Abhishek Goyal
Join Date: May 2024
Location: Tokyo
Posts: 1
Rep Power: 0
abhishekgoyal1111 is on a distinguished road
To anyone who is struggling with this error in decomposePar while using timeVaryingMappedFixedValue, try to make sure that your first three points in the points file do not lie on a straight line because an infinite number of planes can pass through a straight line, so the plane (if) found using these three points will unlikely contain the other points.

I tried this after reading mattijs's comment here: What is DTRIS2 - Fatal error?, and it worked without any other issues.

I think this information might be useful for someone because you don't get this idea directly from the error messages (unless you are an expert in openfoam, of course!).
abhishekgoyal1111 is offline   Reply With Quote

Reply

Tags
parallel, timevaryingmapped


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
Boundary Conditions Thomas P. Abraham Main CFD Forum 20 July 7, 2013 06:05
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 12:44
Help Urgent about changing boundary condition Anjum Naveed FLUENT 7 August 14, 2006 13:25
1 and 2 Order Boundary condition at the same place CFD_Flo Main CFD Forum 4 July 11, 2005 12:57
How to resolve boundary condition problem? sam FLUENT 2 July 20, 2003 03:19


All times are GMT -4. The time now is 05:16.