116bf952ab
remove commented out code
2017-08-21 13:17:26 +02:00
1213c90a50
clean up whitespaces and formatting
2017-08-21 13:09:33 +02:00
b2b3363104
add procBoundaryCorrection for dividedVoidfraction in case of engineIB
2017-08-21 12:40:10 +02:00
8b6222ba79
remove method no longer needed
...
using base class method
2017-08-21 12:34:45 +02:00
8e73260cb4
limit voidfractionNext and scale to values >= 0
2017-08-21 12:33:02 +02:00
777a9e06ec
refactor IBVoidFraction class
...
move duplicate to separate function
2017-08-21 12:32:09 +02:00
4ac84930c5
add braces
2017-08-21 12:24:25 +02:00
10fd332943
correct boundary conditions of voidfraction field
...
correct BCs after modifying the voidfraction field
2017-08-21 12:23:41 +02:00
3dc7b6a150
pre-generate marker points in dividedVoidFraction class
...
generate marker points for unit sphere once and just scale these points
for each particle instead of constantly recalculating them
2017-08-18 11:35:30 +02:00
3f8885c9b7
add functions to get min dist of point to periodic particle image
...
add functions to voidFractionModel class to determine minimal distance
of a point to one of the periodic images of a particle
2017-08-17 17:13:16 +02:00
dc3f93f401
change cg incompatibility error to warning by default
...
added switch 'cgWarnOnly' to choose between warning (default) and error
2017-08-17 16:50:51 +02:00
5f123bb6a1
use flag from cfdemCloud for checking periodic cells in dividedVoidFraction class
2017-08-17 16:34:56 +02:00
123280958b
use flag from cfdemCloud for checking periodic cells in IBVoidFraction class
2017-08-17 16:33:43 +02:00
1a98e6eaee
determine necessity of periodic cell check in cfdemCloud class
...
only check for periodic cells in submodels if all boundary patches are
cyclic
2017-08-17 16:30:09 +02:00
807c6e30e7
fix memory leak
...
anything new shall be deleted;
2017-08-17 15:09:40 +02:00
1b51d5ce21
proper member initialization
...
allocating memory of zero size will produce useless pointer
set to NULL instead
2017-08-17 15:09:39 +02:00
fd6d9164c4
remove unneeded checks
...
according to standard, freeing a null pointer is a nop
some archaic C runtimes may have crashed on it in times long past
2017-08-17 15:09:39 +02:00
ec5ed28885
construct field as copy resetting name
2017-08-17 15:09:39 +02:00
df1be8e004
add trilinear void fraction source file to make file
2017-08-17 15:09:39 +02:00
a4bf2fdd42
add range check for imExSplitFactor value
2017-08-17 15:09:39 +02:00
ee06cc84cb
construct field as copy resetting name
2017-08-17 15:09:39 +02:00
2c05e6e65f
add trilinear void fraction model from PUBLIC
2017-08-17 15:09:39 +02:00
36d5805d2a
shorter access methods
2017-08-17 15:09:39 +02:00
ab49a51003
const correctness
2017-08-17 15:09:39 +02:00
5563b9bd9c
fix bug introduced in 13da1dd890
...
methods must have same const qualifier as in base class
2017-08-17 15:09:39 +02:00
9bd2fcf326
introduce enum for forceSubModel switches
2017-06-12 16:07:39 +02:00
fe24c2c7ed
fix some more const madness
2017-06-12 15:44:29 +02:00
13da1dd890
make clock model indpendent of cfdemCloud
...
New version only depends on valid Foam::Time instance
2017-05-24 11:53:29 +02:00
c19b04e6d0
save local variable
2017-05-19 14:40:26 +02:00
e11697a9f2
fix some more const madness
2017-05-19 14:35:26 +02:00
ac4c80e148
fix some const madness
...
generally:
setter methods should not be const
getter methods are predestined candidates for const
2017-05-18 16:56:46 +02:00
232e8a75d0
use better name for volScalarField
2017-05-18 14:10:00 +02:00
e8f8f4668d
disable some warnings in make options for compressible
...
use the default 7 hexadecimal digits as the abbreviated object name;
disable warnings about old-style casts, unused results and literal
suffix, since they are of little interest and mostly caused by external
libraries (mpi, c/c++ standard libraries)
(same as in 80aaf69748 and
9e478e23a6 )
2017-05-18 14:08:33 +02:00
b2a089a444
fix some typos
2017-05-18 13:59:01 +02:00
b9cff039ad
fix up probe model
...
remove internal vProbes and sProbes and corresponding getter functions
since the data structures are unsuitable and they are not used anywhere
else;
remove misleading const specifiers from methods and the excruciating
mutable specifiers;
use const references as parameters where appropriate;
2017-05-18 13:57:58 +02:00
9113908429
clean up whitespaces
2017-05-16 11:40:27 +02:00
a6875d8a4a
use typename of force models for log file name
2017-05-16 09:37:50 +02:00
1e5bc6ef89
remove unneeded checks
...
delete NULL is a valid operation
2017-05-12 10:06:03 +02:00
d1dc21acb8
clean up whitespaces
2017-05-11 19:12:07 +02:00
dc8ca8b520
pass label by value instead of reference
...
index does not get modified; also avoid potential problems in case int
needs to be cast to a label of different size;
2017-05-11 19:10:12 +02:00
dfece32f5f
clean up whitespaces
2017-05-11 18:21:53 +02:00
dd54ca1bba
what has been allocated must be destroyed
...
new - delete
malloc - free
allocateArray - destroy
Programming 101: Don't mix them!
2017-05-11 18:00:54 +02:00
e265039fed
remove superfluous namespace scoping
2017-05-11 17:02:38 +02:00
b04810f2c5
use proper data type
2017-05-11 16:38:11 +02:00
ea71689908
remove unused function
2017-05-11 16:27:02 +02:00
7673564896
fix up shortcuts for running LIGGGHTS
2017-05-11 15:23:36 +02:00
2f532af9bb
update make options to include OFversion header location
2017-05-02 17:51:00 +02:00
4cbec2cffe
adjust shell scripts to new etc location
2017-05-02 17:50:02 +02:00
2a77e96af0
rename dummy file to .gitignore
2017-05-02 16:51:28 +02:00
57a929dce2
move etc directory to CFDEM_PROJECT_DIR
2017-05-02 16:49:22 +02:00