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

Inlet of fluid

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2014, 13:19
Default Inlet of fluid
  #1
Member
 
Lenzo
Join Date: Feb 2014
Posts: 33
Rep Power: 12
lenzo is on a distinguished road
Hello everybody!
It is not my first thread about it, but I have just some changes, so it means that, somehow it's like a new question.

"Dictionary setField" sets the fields of fluids which exist inside the domain. So we use it in order to declarate: Here i have this fluid, there this other one. So let's see what happens.

But my problem is: i have a constant inlet of fluid. From one boundary there is constantly getting into my domain one fluid.

As far as I know this is not setField dictionary anymore. But i don't know how to do that.

I hope you can understand my proble and u can help me!!

Thanks a lot,
lenzo is offline   Reply With Quote

Old   May 31, 2014, 09:34
Default
  #2
Member
 
Lenzo
Join Date: Feb 2014
Posts: 33
Rep Power: 12
lenzo is on a distinguished road
People,
no one has any idea about how I can define it?
Or at least could you give me some hint where to find such information?

When it comes to openSource's material I feel abandoned...

thanks a lot
lenzo is offline   Reply With Quote

Old   May 31, 2014, 11:19
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Lenzo,

There is a lot of information online on how to define an inlet in OpenFOAM. There are several tutorials in OpenFOAM's "tutorials" folder that demonstrate how this is done.
Even the very first tutorial in OpenFOAM's User Guide hints at how this can be done, since it defines a fixed value on the top wall that is forcing the fluid inside to move. You only need to change the direction of the vector and it will start pouring inside the "cavity"... er, well, it won't work on that tutorial directly, as there would be no way for the fluid to later get out ...

If you're not yet getting the idea, please read/study the OpenFOAM User Guide once again and then have a look into the tutorial "incompressible/simpleFoam/pitzDaily" and read the contents of all of the files present there.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   May 31, 2014, 11:26
Default
  #4
Member
 
Lenzo
Join Date: Feb 2014
Posts: 33
Rep Power: 12
lenzo is on a distinguished road
Thanks Bruno,
I think I didn't explain myself properly. I know how to define initial conditions such an inlet.
And I also know the folder tutorials and the openfoam's user guide, where i learnt all what i know of openfoam.

What i don't know is how to define an inlet of a Different fluid.
So, i have my fluid, which is defined in transportProperties dict.
But, i wanna another fluid getting into all the time.

As I said, this is not setField, because setField is only for fluids i have already on my domain, but i am talking about a new fluid which comes from outside.

Obviously i also have outlets, but if i know how to manage one inlet i guess i will manage how to define the outlet....

I hope now i find my answer

Thanks
lenzo is offline   Reply With Quote

Old   May 31, 2014, 11:31
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
OK, then a few questions:
  1. Remember the 3rd tutorial on the OpenFOAM User Guide, namely the one about the "dam break"?
  2. Have you looked into the other tutorials in the "multiphase/interFoam" folder?
  3. More specifically, have you had a look into the tutorial "multiphase/interFoam/ras/waterChannel"?
wyldckat is offline   Reply With Quote

Old   May 31, 2014, 11:51
Default
  #6
Member
 
Lenzo
Join Date: Feb 2014
Posts: 33
Rep Power: 12
lenzo is on a distinguished road
I know the dam break.
The dam break is something as i said before, two different fluids that already exist in the same domain.
I don't know that one of waterChannel.
I hope that what you are saying to me will help me, but i always thought that the multiphase solvers where useful when we had two phases of the same flow. But what i mean two different fluids.

So, should i take a look on the waterChannel?
lenzo is offline   Reply With Quote

Old   May 31, 2014, 12:45
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Lenzo,

I haven't given you a straight answer, because once you figure out the answer, it'll be less likely that you'll forget about in the future

I'll give you a few hints:
  1. The "alpha" field is the one that tells apart one fluid from the other.
  2. There is a wiki page that explains in more detail how to post-process these kinds of cases: http://openfoamwiki.net/index.php/Ho...iphase_results
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 31, 2014, 12:49
Default
  #8
Member
 
Lenzo
Join Date: Feb 2014
Posts: 33
Rep Power: 12
lenzo is on a distinguished road
Dear Bruno,
thanks a lot for your explanations and for your time.
Now i know where and what i should look and investigate.

I will keep on that way and i will tell you how it's going.

thank you again,
lenzo is offline   Reply With Quote

Reply


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
dsmcFoam setup hherbol OpenFOAM Pre-Processing 1 November 19, 2021 01:52
define temperature fluid at the inlet papteo OpenFOAM Pre-Processing 0 March 28, 2013 06:37
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13
Inlet diffuser of ramjet Mohammad Kermani Main CFD Forum 25 December 29, 2000 18:46


All times are GMT -4. The time now is 01:32.