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

formula implementation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 9, 2013, 05:49
Default formula implementation
  #1
Member
 
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 13
sanjar is on a distinguished road
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
sanjar is offline   Reply With Quote

Old   September 9, 2013, 09:19
Default
  #2
New Member
 
Thomas F.
Join Date: Jun 2013
Location: Graz, Austria
Posts: 14
Rep Power: 13
Dommy is on a distinguished road
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.
Dommy is offline   Reply With Quote

Old   September 11, 2013, 14:57
Default
  #3
Member
 
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 13
sanjar is on a distinguished road
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!!!
sanjar is offline   Reply With Quote

Old   September 12, 2013, 13:35
Default
  #4
Member
 
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 13
sanjar is on a distinguished road
Does somebody else have a idea, too? every advice is welcomed. How would you guys handle this problem?

lots of greetings
sanjar 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
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


All times are GMT -4. The time now is 23:50.