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

mappedField - OF 4.0 vs. OF 2.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2016, 11:28
Default mappedField - OF 4.0 vs. OF 2.0
  #1
Member
 
Pedro Ramos
Join Date: Mar 2012
Location: Belgium
Posts: 81
Rep Power: 14
pedroxramos is on a distinguished road
Hi everyone,

we are trying to write a new inlet boundary condition, starting with the mappedField file. Even if we simply copy the files to a new folder, not changing the code, the new function requires that a mapping information (offset, sampleRegion, etc.) appears in the initial conditions (0/U).

We have succeeded in v2.0 but it doesn't work in v4.0.

We suppose the aforementioned problem is due to something related with the following note of mappedField of version 4.0 (not present in the version 2.0):

Since this condition can be applied on a per-field and per-patch basis,
it is possible to duplicate the mapping information. If possible, employ
the \c mapped condition in preference to avoid this situation, and only
employ this condition if it is not possible to change the underlying
geometric (poly) patch type to \c mapped.

Does anyone have the same problem? What the ''\c mapped condition'' means and how can it be applied?
pedroxramos is offline   Reply With Quote

Reply

Tags
mapped condition, mappedfield, of4, \c mapped


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
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 06:40
File format - binary? (plot3d) Joachim Main CFD Forum 15 January 14, 2015 19:21
Viscous forces (interDyMFoam) differ between OF 2.0 and later versions maxof OpenFOAM Running, Solving & CFD 2 May 30, 2013 05:17
Two way particle coupling in OF 2.0 and the particle reynolds number preichl OpenFOAM 7 February 9, 2012 16:38
CFX 12 in WB 2.0 - Your thoughts? flattie ANSYS 0 May 13, 2009 20:05


All times are GMT -4. The time now is 03:14.