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

Fail timeVaryingMappedFixedValue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2015, 04:29
Question Fail timeVaryingMappedFixedValue
  #1
Zen
Member
 
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 12
Zen is on a distinguished road
Hi everyone,

I am using timeVaryingMappedFixedValue to set an inflow boundary condition at the inlet of a straight pipe. I have defined the velocity at the cell centres and put the 'points' and 'U' file in the corresponding directories under 'constant/boundaryData'.

Since I've specified the values of the velocity at the cell centres, there should be no interpolation. However, I can see some cells present wrong U values (see attached picture, close to the walls. The blue dots at the pipe centre are correct).

Does anyone know how I can solve this problem?

Thanks in advance,

Z

P.S. I am using of-2.4.0
Attached Images
File Type: png interpolation.png (68.6 KB, 68 views)
Zen is offline   Reply With Quote

Old   November 16, 2015, 04:41
Default problem solved by using mapMethod nearest
  #2
Zen
Member
 
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 12
Zen is on a distinguished road
Problem solved.

I simply switched on the interpolation option 'mapMethod nearest' in the 0/U file.

I attached a picture for reference.
Attached Images
File Type: png interpolation.png (64.8 KB, 54 views)
Zen is offline   Reply With Quote

Old   December 14, 2016, 08:01
Default similar problem when forgetting to adapt "perturb" value
  #3
New Member
 
Aaron Endres
Join Date: Jun 2016
Posts: 12
Rep Power: 9
aendres is on a distinguished road
Hi,

I had a similar problem in OpenFOAM 2.3.x with very fine grids, which was resolved by adding the entry
perturb 0.0;
in the boundary condition definition.

Just a brief remark for future forum readers...
aendres is offline   Reply With Quote

Reply

Tags
interpolation; error;


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
Eclipse for OpenFOAM AMahrla OpenFOAM Programming & Development 109 October 8, 2017 16:20
Fail to generate boundary condition profile data dotapro CFX 4 January 30, 2015 00:59
The fail of moving mesh liujmljm SU2 2 November 5, 2013 17:10
OpenMPI fail with Bluecape port of OF2.1 (I am doing it wrong). Doug68 OpenFOAM Installation 2 October 15, 2012 08:08
ITTC: Epic Validation Fail? Lysistrata Main CFD Forum 0 November 19, 2011 12:50


All times are GMT -4. The time now is 02:26.