|
[Sponsors] |
Sloshing Case - Probing or Sampling free surface during runtime |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 17, 2015, 04:34 |
Sloshing Case - Probing or Sampling free surface during runtime
|
#1 |
New Member
Join Date: Feb 2015
Posts: 1
Rep Power: 0 |
In order to runtime post-process a sloshing case (3D) different options are available to sample the free surface in distinct locations inside the domain. I am currently using OpenFOAM 2.3.0 to do some test calculations for that.
Runtime postprocessing functions can be used in the system/controlDict for fast and easy determination of the values. First option is using the "set" function. Code:
functions { Probe01 { type sets; interpolationScheme cellPoint; outputControl adjustableTime; writeInterval 0.05; setFormat raw; sets ( centerPatch { type uniform; axis xyz; start (0.000 0.000 1.000); end (0.000 0.000 2.000); nPoints 10; } ); surfaces (); fields ( alpha.water ); }; } Second option in runtime postprocessing functions is the "probe" function, where definition of single probe locations in a line can be done e.g. like this: Code:
functions { Probe02 { type probes; functionObjectLibs ("libsampling.so"); outputControl adjustableTime; writeInterval 0.05; probeLocations ( (0.000 0.000 1.000) (0.000 0.000 1.100) (0.000 0.000 1.200) (0.000 0.000 1.300) (0.000 0.000 1.400) (0.000 0.000 1.500) (0.000 0.000 1.600) (0.000 0.000 1.700) (0.000 0.000 1.800) (0.000 0.000 1.900) (0.000 0.000 2.000) ); fixedLocations false; fields ( alpha.water ); } } Therefore both ways do not seem to lead to what I am interested in, interpolating the free surface with cellPoint interpolation in locations fixed in the dynamic Mesh. Does anyone have ever thought about a solution for this problem? I guess so! I have also tried to do the same with sampleDict or probeDict postprocessing, but obviously the switch "fixedLocations false;" is not functioning their in either case. Looking very much forward for your kind help! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
free surface modelling using VOF | sci | Main CFD Forum | 10 | August 29, 2012 08:43 |
sloshing free surface | Jaime | FLUENT | 1 | December 2, 2008 14:12 |
Multiphase flow. Dispersed and free surface model | Luis | CFX | 8 | May 29, 2007 19:13 |
Free Surface Modelling (sloshing) | fakir | CFX | 0 | November 23, 2006 03:23 |
gravitational force for free surface flow | Jongtae Kim | Main CFD Forum | 1 | July 2, 2000 12:57 |