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

MappedField BC for Velocity in LES

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

Like Tree2Likes
  • 2 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2014, 16:07
Default MappedField BC for Velocity in LES
  #1
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Greetings All

I am trying to set a mappedField B.C. for my fuel inlet according to this tutorial:

$FOAM_TUTORIALS/incompressible/pisofoam/les/pitzDailyMapped

In the blockMeshDict file of this tutorial we have:

inlet
{
type mappedPatch;
offset ( 0.0495 0 0 );
sampleRegion region0;
sampleMode nearestCell;
samplePatch none;

faces
(
(0 22 23 1)
(1 23 24 2)
(2 24 25 3)
);
}

My question is what is this offset? and how should I set it?
Cause I did the same as this tutorial for my LES case and I got this error:

Code:
Selecting turbulence model type LESModel
Selecting LES turbulence model Smagorinsky


--> FOAM FATAL ERROR: 
Case is not 3D or 2D, LES is not applicable

    From function cubeRootVolDelta::calcDelta()
    in file cubeRootVolDelta/cubeRootVolDelta.C at line 72.

FOAM exiting
I think it must be from this parameter,

A short question: Do I need to modify other 0 folder files (except velocity) for setting this B.C.?

Any hint is appreciated.

Regards
Bobi
babakflame is offline   Reply With Quote

Old   May 13, 2014, 09:29
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
Dear Bobi
1- does your case run with out another BC?
2- mappedPatch BC maps field from inside domain to patch, the offset here shows the distance from the region (those sample faces you mentioned)
vishwakarma and babakflame like this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   May 13, 2014, 10:21
Default
  #3
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Greetings Nima

There was a problem with my mesh that reported the mentioned error. I solved it.

However, I was still wandering about offset parameter.

Have you ever tried to investigate this parameter?
I mean how far this spatial point should be from the injection plane? ( my origin plane)? Can we correlate it with injection radius of fuel flow in domain ?

Regards
Bobi
babakflame is offline   Reply With Quote

Old   May 13, 2014, 12:27
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
i have no idea, i feel it depends on your simulation and it varies from one simulation to other
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LES Filtering: how are the small and large scales equations solved? atmcfd Main CFD Forum 38 March 14, 2016 14:52
Beginning to work in LES - Suggestions needed atmcfd Main CFD Forum 5 July 20, 2012 22:16
Turbulence dampening due to magnetic field in LES and RAS eelcovv OpenFOAM 0 June 8, 2010 11:35
LES grid mesh L3munoz Main CFD Forum 0 April 7, 2010 05:05
Some Questions about LES. Bin Li Main CFD Forum 2 February 20, 2004 09:58


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