CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > 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 Display Modes
Old   May 11, 2014, 16:07
Default MappedField BC for Velocity in LES
  #1
Senior Member
 
Bobi
Join Date: Oct 2012
Posts: 286
Rep Power: 5
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 Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
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.
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   May 13, 2014, 10:21
Default
  #3
Senior Member
 
Bobi
Join Date: Oct 2012
Posts: 286
Rep Power: 5
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 Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
i have no idea, i feel it depends on your simulation and it varies from one simulation to other
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam 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
LES Filtering basic question - help atmcfd Main CFD Forum 33 September 20, 2013 11:02
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 10:58


All times are GMT -4. The time now is 11:47.