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

Crash using DirectMappedVelocityFluxField

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 27, 2010, 11:06
Default Crash using DirectMappedVelocityFluxField
  #1
Senior Member
 
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 20
Fransje will become famous soon enough
Dear developers, debuggers and forum readers,

When using the directMappedVelocityFlux patch to remap the U field, pisoFoam crashes when using the NEARESTFACE option.

If interested, I can post the error message associated with the crash, but I've traced the origin back to the following piece of code in directMappedVelocityFluxFixedValueFvPatchField:
Code:
00209             newUValues = patch().patchSlice(newUValues);
The thing is that newUValues was declared slightly higher with
Code:
00176     vectorField newUValues;
but was not used/instantiated after that.
Reading the similar routine used in directMappedFixedValueFvPatchField.C, I guess the variable in brackets should be allUValues and not newUValues, leading to:
Code:
00209             newUValues = patch().patchSlice(allUValues);
This is however only an educated guess of yours truly, since I don't know what the patch().patchSlice() function does...

I was also wondering if a kind soul could also make good use of this discussion and explain to me what the patch().patchSlice() command does?

Kind regards,

Francois.
Fransje is offline   Reply With Quote

 

Tags
directmapped, nearestface, remapping


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
Graphic/plotted monitors causing Fluent 12.0 to crash Autumn FLUENT 6 May 25, 2010 01:19
Flow Simulation Crash with Trajectories D.Castle FloEFD, FloWorks & FloTHERM 2 August 5, 2009 14:50
Error%7eerror triggers crash after handling exceptions thrown by errorexit twice 7islands OpenFOAM Bugs 2 September 4, 2007 05:24
Design Modeler crash LR CFX 3 May 13, 2005 19:52
track cause of crash Matt Phoenics 2 October 5, 2001 09:16


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