CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

sampling when mesh has moving points

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 4, 2013, 03:50
Default sampling when mesh has moving points
  #1
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 255
Rep Power: 8
Phicau is on a distinguished road
Dear all,

I am trying to sample along a line for a mesh where points move, hence, when the initial cells where the line is located move away I get an error and the sampling process is aborted:

Code:
Time = 0

Time = 0.05

Time = 0.1

Time = 0.15


--> FOAM FATAL ERROR: 
None of the neighbours of face 887211 contains point (44.9001 0.000100006 1.105)

    From function sampledSet::getCell(const label, const point&)
    in file sampledSet/sampledSet/sampledSet.C at line 105.

FOAM aborting
Any clue on how to tell OpenFOAM to read the "points" file from the time folder instead from the polymesh one?

Just to clarify, I want to measure always at the same location, it does not matter at which cell.

Best,

Pablo
Phicau is offline   Reply With Quote

Old   March 4, 2013, 04:34
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,660
Rep Power: 25
ngj will become famous soon enoughngj will become famous soon enough
Hi Pablo,

What version are you using? I have had similar problems in the official release, but never in 1.6-ext. I never came across a solution, though.

Good luck,

Niels
ngj is offline   Reply With Quote

Old   March 4, 2013, 04:41
Default
  #3
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 255
Rep Power: 8
Phicau is on a distinguished road
Hi Niels,

we are currently using 2.1.1.

Good to know, I will then try to dig my way out of here programming...

Thanks!
Phicau is offline   Reply With Quote

Old   March 4, 2013, 11:42
Default
  #4
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 236
Rep Power: 8
fredo490 is on a distinguished road
Does this problem happen when only a part of your line I'd out of the domain or only when all the line gets out?
By the way, what can of deformation do you use? Translating?
fredo490 is offline   Reply With Quote

Old   March 4, 2013, 12:19
Default
  #5
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 255
Rep Power: 8
Phicau is on a distinguished road
Hi,

actually my line is always within the domain. The problem arises when any location of the line starts to belong to other cell than the initial one.

I am using a modified version of dynamicMotionSolverFvMesh.

Best,

Pablo
Phicau is offline   Reply With Quote

Old   March 4, 2013, 12:24
Default
  #6
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 236
Rep Power: 8
fredo490 is on a distinguished road
Can you use a post treatment software like EnSight or ParaView? It would make the thing easier (but longer)
fredo490 is offline   Reply With Quote

Old   March 4, 2013, 12:36
Default
  #7
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 255
Rep Power: 8
Phicau is on a distinguished road
Definitely.

There is another option which I currently use: sample for free surface as an isosurface, and then by using a python script I obtain the time series of free surface elevation anywhere. This is kind of brute force, though.
Phicau 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
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
Question on moving mesh, mesh velocity is really small! ripperjack Main CFD Forum 2 April 28, 2014 13:37
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 06:42
Dynamic Mesh moving interface help akash.iitb FLUENT 0 August 23, 2010 23:53
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43


All times are GMT -4. The time now is 17:42.