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

Specifying nonuniform initial condition

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

Like Tree6Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   January 20, 2009, 15:05
Default Hello! I am a new user of Ope
  #61
New Member
 
Suraj Deshpande
Join Date: Mar 2009
Location: Madison, WI, USA
Posts: 17
Rep Power: 9
suraj is on a distinguished road
Hello!
I am a new user of OpenFoam. I was looking at the damBreak case and nozzleFlow2D case. Both the cases require setting a non uniform gamma field. However, the damBreak case uses setFields utility to do this while nozzleFlow2D uses cellSet utility. Is there a particular reason why this is done? When I looked at the user manual, I saw that both these utilities are for selecting a cell set through a dictionary- one does it in preprocessing while the other does it in mesh manipulation.
Can somebody please help me know why two different dictionaries are used here?

Thanks,
Suraj
suraj is offline   Reply With Quote

Old   March 17, 2016, 05:01
Default Velocity Boundary condition on Imported 3D Mesh
  #62
New Member
 
Abhishek
Join Date: Mar 2016
Posts: 2
Rep Power: 0
Abhi16 is on a distinguished road
Hi,
I wanted to specify the given Velocity Boundary Condition varying with distance from Base of Fluid Domain).For this I have created a Body and have done meshing on it,then imported in openFoam.I have tried using

inlet
{
type fixedValue;
value nonuniform List<vector>

45
(
(0 0 6.7)
(0 0 6.8)
(0 0 6.90)...



There was a option for specifying velocity vectors at the specific patches(given above), but I am not able to understand how to specify faces for each velocity vector in the Inlet patch of the imported Mesh.
Alternatively, Is there is any option to specify the Height of the vectors they are acting at??

Abhishek

Last edited by Abhi16; March 29, 2016 at 07:18.
Abhi16 is offline   Reply With Quote

Old   March 19, 2016, 18:17
Default
  #63
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,747
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quote:
Originally Posted by Abhi16 View Post
There was a option for specifying velocity vectors at the specific patches(given above), but I am not able to understand how to specify faces for each velocity vector in the Inlet patch of the imported Mesh.
Alternatively, Is there is any option to specify the Height of the vectors they are acting at??
Quick answers:
  1. setFields should be able to help you with this task, if the values are constant at a specific height.
  2. If you need a more mathematical way of defining the values, for example, by defining the value in function of the height, then you can try using funkySetFields.
wyldckat is offline   Reply With Quote

Old   March 28, 2016, 00:08
Default Imported Mesh
  #64
New Member
 
Abhishek
Join Date: Mar 2016
Posts: 2
Rep Power: 0
Abhi16 is on a distinguished road
Thanks for the reply
But I have a doubt does it work for IMPORTED Mesh as well, if so then how do we apply setField there.

Abhishek
Abhi16 is offline   Reply With Quote

Old   March 28, 2016, 08:19
Default
  #65
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,747
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quick answers:
Quote:
Originally Posted by Abhi16 View Post
But I have a doubt does it work for IMPORTED Mesh as well,
As long as the mesh is valid in OpenFOAM, it should work.

Quote:
Originally Posted by Abhi16 View Post
if so then how do we apply setField there.
Have you done the 3 tutorials from the OpenFOAM User Guide? http://cfd.direct/openfoam/user-guide/tutorials/

Have you managed to import the mesh into the OpenFOAM case? Can you share the case? Or at least provide a simple test case so that it's easier to show you how to use setFields.

More details available here: How to give enough info to get help
wyldckat is offline   Reply With Quote

Old   April 25, 2016, 04:23
Default non-uniform velocity profile
  #66
New Member
 
katia chekini
Join Date: Mar 2016
Location: FRANCE
Posts: 7
Rep Power: 2
cyndy M is on a distinguished road
hello everyone

I'm using OpenFoam for my study and I would like to specify non uniform initial conditions for my case (velocity).
Can someone tell me more about that. I'm a begenner and I have no idea how to do it
thank you
cyndy M 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
Specifying nonuniform boundary condition maka OpenFOAM Running, Solving & CFD 59 October 22, 2014 14:52
Nonuniform initial condition using cellSetDict rinao OpenFOAM Running, Solving & CFD 6 January 9, 2013 01:42
Initial Condition Tang Kuei FLUENT 0 May 17, 2006 19:54
Nonuniform gradient boundary condition ankgupta8um OpenFOAM Running, Solving & CFD 1 March 14, 2006 02:34
Nonuniform initial conditions nico OpenFOAM Pre-Processing 2 January 4, 2006 07:37


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