|
[Sponsors] |
March 29, 2011, 18:24 |
What openFoam solver for sandstorm?
|
#1 |
New Member
Join Date: Mar 2011
Posts: 13
Rep Power: 15 |
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 |
|
March 30, 2011, 04:29 |
|
#2 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
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 |
|
March 30, 2011, 08:03 |
How to set a new patchField like "logarithmicVelocity" for openfoam?
|
#3 |
New Member
Join Date: Mar 2011
Posts: 13
Rep Power: 15 |
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 08:04. Reason: spell error |
|
March 30, 2011, 08:29 |
|
#4 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
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 |
|
April 7, 2011, 09:57 |
How to see snow flakes/sand particules of simulation in paraview?
|
#5 |
New Member
Join Date: Mar 2011
Posts: 13
Rep Power: 15 |
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 |
|
|
|
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 03:28 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |
OpenFOAM Training and Workshop Zagreb 2628Jan2006 | hjasak | OpenFOAM | 1 | February 2, 2006 22:07 |