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

What openFoam solver for sandstorm?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 29, 2011, 17:24
Default What openFoam solver for sandstorm?
  #1
New Member
 
Join Date: Mar 2011
Posts: 13
Rep Power: 6
cristina87 is on a distinguished road
Hi,

What solver do you recommend to use for a sandstorm simulation? I have 4 buildings (simple geometry) and I want to simulate the effect of a sandstorm on them (a part of them).

I thought to something like multiphase solver (ex bubbleFoam) - I work with OpenFoam.

Cristina
cristina87 is offline   Reply With Quote

Old   March 30, 2011, 03:29
Default
  #2
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 9
gwierink is on a distinguished road
Hi Cristina,

It depends a bit what details (and how detailed) you are interested in. But I know of Jan Potac at Chalmers who looked at snow drift using twoPhaseEulerFoam. His report lives here. Perhaps that's a start ...
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   March 30, 2011, 07:03
Default How to set a new patchField like "logarithmicVelocity" for openfoam?
  #3
New Member
 
Join Date: Mar 2011
Posts: 13
Rep Power: 6
cristina87 is on a distinguished road
Hi gwiering,

Thank you for the reply. I downloaded and tried to run the snowDrift simulation. I generated the mesh - it's ok but when I try to apply the twoPhaseEulerFoam solver I receive the error:

"Unknown patchField type logarithmicVelocity for patch type patch
Valid patchField types are : a long list of pathFields"

I followed the steps from the report and I compiled what it is in snowTwoPhaseEulerFoam folder - there is the "logarithmicVelocityFvPatchVectorField" source and header file. I used wmake all - and now there are set in my /opt/openfoam170/lib/linuxGccDPOpt/ folder the libraries: libphaseModel.so, libEulerianInterfacialModels.so and libkineticTheoryModel.so.

I don't know what is the problem but it is obvious that openfoam doesn't "see" the new patchField entitled: logarithmicVelocity. How to set it?

Cristina

Last edited by cristina87; March 30, 2011 at 07:04. Reason: spell error
cristina87 is offline   Reply With Quote

Old   March 30, 2011, 07:29
Default
  #4
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 9
gwierink is on a distinguished road
Hi Cristina,

I guess your logarithmicVelocity boundary condition did not compile properly or there is some other problem. There is lots of info on the forum on how to make your own boundary conditions, so please shop around a bit. If you's just like to get started, I suggest you use a simple uniform BC for the inlet velocity, e.g.
Code:
inlet
{
    type              fixedValue;
    value             uniform (10 0 0);
}
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   April 7, 2011, 08:57
Default How to see snow flakes/sand particules of simulation in paraview?
  #5
New Member
 
Join Date: Mar 2011
Posts: 13
Rep Power: 6
cristina87 is on a distinguished road
Hi gwierink,

I resolved the problem with that library. Now I have a question... How can I see the snow flakes (in my case sand particles) in paraview? (I'm speaking about the snowDrift project)
Earlier I realized to see some white flakes during my simulation(after I clicked on play button) but I didn't remember how I did it. I tried again many times but they don't appear anymore. (Where is Solid color I tried with pressure(p), velocity(Ua), alpha etc. Anyway as I remember I think it's something in animation View bar - Mode, Time but I don't know - I tried and tried but nothing...

Cristina
cristina87 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
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Running Problem using Openfoam solver cfd_staruser OpenFOAM 5 August 14, 2009 02:28
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 22:07


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