|
[Sponsors] |
September 9, 2013, 05:49 |
formula implementation
|
#1 |
Member
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 13 |
Hey FOAMers,
I have a special kind of problem and I am not that good in the C++language to handle it on my own. The problem is decribed in the following. I made a simulation with particles in a fluid, which land on a plate. This plate is made of a material which shows an erosive characteristic due to the particles. The thing i want to do now is to show with values (as results of a given formula) how much material is going to get off caused by the particles. Is is not necessary to show it on the simulation. There is no need for that. I just want to show it with values. To define it a little bit more: I used unCoupledKinematicParcelFoam to solve my simulation. And the only value i need to calculate with the formula is the last time-folder. Thats all. BTW, the formula i was tlking about is the erosion model formula of finnie. Is there anybody who has an idea or who could help me through this work. I really dont know anything about implemetation of a formula in a OF simulation. At least it is only the last time-folder which has to be worked on. it would be perfect if there is somebody who take a few minutes to help me out of this problem. thank you guys |
|
September 9, 2013, 09:19 |
|
#2 |
New Member
Thomas F.
Join Date: Jun 2013
Location: Graz, Austria
Posts: 14
Rep Power: 13 |
Hey Sanjar,
glad you solved your problem so far! If its only a formular and only in the last time folder why dont you calculate the value by using any kind of programming language you are familiar with? As far as I can see (and I don`t have any idea about erosive characteristic - just looked up the formular) there is no need to actually implement something in OF because further calculations are not based on the value you want to calculate - am I right? Best, Thomas Last edited by Dommy; September 10, 2013 at 04:55. |
|
September 11, 2013, 14:57 |
|
#3 |
Member
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 13 |
Hey Thomas,
yes i managed to start the simulation, because i was so lucky finding people who were ready to help me out!!! Relly great work moral. Yes you are right and i was thinking about that in the beginning. Unfortunately i am not familiar with any program language (looked up in some c++ tuts and excercises). i wanted to know if there is a way to do that just for a first information. it would be great if there is a way to insluce my formular into the simulation. thank you for your advices and help!! i aprreciate them a lot!!! |
|
September 12, 2013, 13:35 |
|
#4 |
Member
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 13 |
Does somebody else have a idea, too? every advice is welcomed. How would you guys handle this problem?
lots of greetings |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Implementation of the drag coefficient Formula | Mirage12 | OpenFOAM Post-Processing | 4 | August 5, 2013 02:11 |
doubts on the formula of near-bed concentration in volume | superhugo | Main CFD Forum | 1 | April 27, 2012 03:28 |
Implementation issues of fvSchemes / laplacianScheme, in particular gaussLaplacianSch | thomek | OpenFOAM Programming & Development | 0 | October 18, 2010 06:10 |
Please explain the implementation of species transport Eqn in reactingFoam | kallipygian | OpenFOAM Running, Solving & CFD | 0 | October 13, 2008 08:29 |
Benetton Formula 1 | CD adapco Group Marketing | Siemens | 13 | February 7, 2002 10:33 |