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

Lookup tables

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2016, 05:45
Question Lookup tables
  #1
Member
 
Ali
Join Date: Oct 2013
Location: Scotland
Posts: 66
Rep Power: 12
ali.m.1 is on a distinguished road
Hi all

I am trying to inject particles using a lookup table. My problem is that if I change the mass flowrate on the lookup table, nothing happens to the results. The solver seems to ignore the lookup table, and use the values in other constant dictionaries.
I've tried the tutorial 'cylinder' (reactingParcelFilmFoam) to check that it wasn't just my case, but even when I change the mass flow rate column in that lookup table, the values in the log file don't change.
Does anyone have any idea? Both solvers require 'massTotal' in a constant dictionary. If I change this value, the values change in the log file. I've tried to delete this line, however the solver won't run without it.
I'm using of 3.0.x for reference.
Any help is appreciated!
ali.m.1 is offline   Reply With Quote

Old   March 30, 2016, 09:40
Default
  #2
Member
 
Ali
Join Date: Oct 2013
Location: Scotland
Posts: 66
Rep Power: 12
ali.m.1 is on a distinguished road
So I've figured out that the mass flowrate is calculated from the parameters you give in the 'kinematicCloudProperties' dictionary. It takes massTotal and divides by the duration to get kg/s. This is fine, and may seem obvious, but where I'm getting stuck is finding out what the values of mDot are for in the LookupTable? As far as I can see it makes no difference to the results whatsoever.

I hope this makes my query clearer.
ali.m.1 is offline   Reply With Quote

Old   May 13, 2016, 07:11
Default
  #3
Member
 
Ali
Join Date: Oct 2013
Location: Scotland
Posts: 66
Rep Power: 12
ali.m.1 is on a distinguished road
Hi All

Maybe this should be in the programming section, but I'll ask it here anyway since I've already started a thread.

I have a made a kinematicCloudLookupTable which refreshes each timestep. My problem is that the solver does not look at the lookupTable each time step, but rather just takes the first value.
Does anyone know how I can force the solver to re-look up the values each time step? The .C files concerned are either InjectionModel.C, or KinematicLookupTableInjetcion.C. I have tried to include some sort of loop in these, (like in the main solver- with pimpleLoop) but with no sucess.

Any help would be appreciated. I've been stuck on this for a week now.
ali.m.1 is offline   Reply With Quote

Reply

Tags
particles lookuptable


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
DPMFoam - Serious Error --particle-laden flow in simple geometric config benz25 OpenFOAM Running, Solving & CFD 27 December 19, 2017 20:47
FlameletFoam tables and OpenFOAM-2.3.x Look-Up-Tables Sermengi OpenFOAM 2 December 19, 2014 06:10
Convergence on anisotropic tetahedral meshes pbo OpenFOAM Running, Solving & CFD 12 December 14, 2010 11:59
Error with 'vanAlbada' scheme Julian K. OpenFOAM Running, Solving & CFD 0 June 18, 2009 09:31
Buoyancydriven cavity flow anita OpenFOAM Running, Solving & CFD 3 March 26, 2008 10:24


All times are GMT -4. The time now is 21:16.