Commit Graph

214 Commits

Author SHA1 Message Date
Hamidreza Norouzi 967bb753aa adding non-linear contact force model for grains 2025-01-20 15:37:48 +03:30
Hamidreza Norouzi c202f9eaae AB3, AB4 added, and AB2 modified 2025-01-20 14:55:12 +03:30
PhasicFlow bab1984b8e
Merge pull request #149 from PhasicFlow/develop
Binary conversion from pointFiled files to vtk format
2025-01-09 19:20:25 +03:30
HRN 66c3cda39e Binary conversion from pointFiled files to vtk format
- all vtk files are stored in the /particles/ folder
- terminal output is modified
- time series file are added. files with extntions .vtk.series can be loaded into paraview
2025-01-09 19:16:18 +03:30
alireza Hosseini f74ec1d1ac bug fixes for cuda run in plus side 2025-01-08 08:42:45 +03:30
PhasicFlow 59145425b1
Merge pull request #139 from PhasicFlow/develop
grainDEMSystem folder is added
2024-12-28 13:25:06 +03:30
HRN ff6c3454c9 grainDEMSystem folder is added 2024-12-28 13:22:12 +03:30
PhasicFlow e4eb7d74be
Merge pull request #137 from PhasicFlow/develop
Some changes to be compatible with phasicFlowPlus-v1.0
2024-12-27 19:29:31 +03:30
HRN 1f242d8911 Some changes to be compatible with phasicFlowPlus-v1.0 2024-12-27 19:26:09 +03:30
PhasicFlow 46e862c5e5
Merge pull request #136 from PhasicFlow/develop
sphereDEMSystem is updated for version 1.0
2024-12-26 22:59:03 +03:30
HRN 16f8ab4572 sphereDEMSystem is updated for version 1.0 2024-12-26 19:07:39 +03:30
wanqing0421 73e4295a25 Undo changes in bashrc and change the velocity_ to tangentVelocity_ 2024-12-25 08:38:09 +08:00
wanqing0421 89a47d1a15 update conveyor belt model 2024-12-24 16:59:42 +08:00
wanqing0421 ef2a13dd7e add conveyor belt model 2024-12-24 16:39:40 +08:00
wanqing0421 5318610c1f add converyor belt model 2024-12-24 15:37:19 +08:00
PhasicFlow fdb50d5af8
Merge branch 'main' into develop 2024-11-18 20:40:36 +03:30
HRN 75fba2710e Utility postProcess is modified to be used in Version 1.0
- counting dictionary is added to postProcess
- Code need to be modified to cleaned (fields in the repository should be removed onces postProcess is passed the next time step)
2024-11-18 20:27:44 +03:30
alireza Hosseini 2bd95b933f course graining added 2024-11-17 10:19:40 +03:30
HRN d3ccf354b7 code recovery regular part 2024-10-18 23:13:20 +03:30
HRN 173d3c4917 first commit after code loss - develop branch 2024-09-21 13:37:03 +03:30
HRN 6a66f1edfd bug fix for binary file read when dealing with multiple Fields reading from a single file 2024-05-24 22:02:46 +03:30
HRN 32a2c20613 for write to file binary MPI 2024-05-24 20:50:53 +03:30
HRN d1b6a04292 makeing beforeIteration step-wise for boundaryBase to implement non-bloking communications 2024-05-24 00:10:49 +03:30
Hamidreza Norouzi d5ff1d7906 modifications for MPI+CUDA run 2024-05-22 09:56:06 +03:30
Hamidreza Norouzi 4e8b921514 bug remove for GPU run after CPU MPI parallelization
- specialization of VectorSingle for word
- dummyFile creation to solve write to file in MPI mode
2024-05-18 18:40:25 +03:30
HRN 614b2f732e develop branch update for changes in MPI branch for data transfer stage
mortong indexing is added (messaging is not complete)
2024-05-12 19:10:04 +03:30
HRN 0e54e260e6 boundaryProcessor for dataTransfer
- in boundaryList in afterIteration, data transfer occurs to transfer data between prcocessors
- transferData method is added to boundaryBase
- Some modification to format the output messages in terminal
2024-05-05 23:05:23 +03:30
HRN 97049760c3 Modification in streams and sphereInteraciton
1. processorOutput stream is modified to imporve visualization of output
2. some modifications for sphereInteraction after solving MPI memory leak.
2024-04-30 00:32:18 +03:30
Hamidreza Norouzi e7215159af modification to the base code for MPI-developement up to processor boundaries 2024-04-27 09:03:19 -07:00
Hamidreza Norouzi 5c65b92008 dataIO modified for virtual constructor
- In new version dataIO uses virtual constructor to create the object for regular or MPI data transfer
- The instantiation is required for new data types
2024-04-20 06:11:57 -07:00
Hamidreza Norouzi c432880689 zAxis is upgraded and array2D is added for support for 2D array operations
- Cylinder geometric region is corrected for minPoint and maxPoint
2024-04-17 14:04:34 -07:00
Hamidreza Norouzi 79b987c711 Particle insertion
- particleInsertion is now transfered to time folders to track particle insertion progress
- collision check is added for new inserted particles and old particles in the simulaiton.
- minor changes to dataEntry and triple
2024-04-15 13:19:03 -07:00
Hamidreza Norouzi d6798b5097 pointStructure selector
- selectors for pointStructure are updated and geometric selector is added. With this, any geometric region can also be used as a selector region for particles.
- Also, a pointField selector is added as a free funtion that can be used anywhere that is needed.
2024-04-15 13:14:29 -07:00
Hamidreza Norouzi 07bb9e9003 pointStruture selectors refactored
- geometricRegion was added as selector(for now, box, sphere, and cylinder)
- base class upgraded and new method is added to allow accessing point positions in a vector
- selection is modified to account for inactive points when selection is done based on position
- file interface for particlesPhasicFlow changed.

- TODO
- Tutorials should be updated in new version.
2024-04-13 13:13:53 -07:00
Hamidreza Norouzi e395c379cb Collision check and particlePosition -> random
- A new class is added for simple collision check
- position particles in utility is upgraded
- morton sorting is not active yet for particlesPhasicFlow
2024-04-13 07:07:36 -07:00
Hamidreza Norouzi 89d7e1f0ba Particle insertion (domain check)
- Domain check is added to prevent points that are outside of internalDomainBox
2024-04-13 01:41:11 -07:00
Hamidreza Norouzi 9c2a9a81b0 Particle insertion is added with anyList
- collision check is not active yet.
- variable velocity is not active yet.
- events and messages are not active yet.
2024-04-12 22:39:09 -07:00
Hamidreza Norouzi 97f0ddf82e modifications to typeInfo.hpp and type system
- ClassInfo is added to support for non-polymorphic typename
- removal template specialization for realx3 and etc.
- addition of new TypeInfo for triple and quadruple
- change in Logial TypeInfo to remove recursive include in some files
2024-04-11 13:48:37 -07:00
Hamidreza Norouzi ff8968e595 format clang-format 2024-04-08 12:33:08 -07:00
Hamidreza Norouzi a9290e911b Reflective boundary condition is added and tested.
It requires messaging integration when changing velocity.
2024-04-05 05:31:09 -07:00
Hamidreza Norouzi 821dde9b1c modifications for adding boundary condtions 2024-04-04 12:33:09 -07:00
Hamidreza Norouzi 818106a34a Boundary conditions are created and tested.
- exit and periodic, follows the previous commit.
2024-04-04 12:31:19 -07:00
Hamidreza Norouzi 65b3f5a8a0 phasicFlow core changes for boundary condition addition.
- Exit boundry condition, checked.
- periodic boundary condition added, checked.

to be done:
- messaging events
- reflective
- wall-particle interaction for periodic bc.
2024-04-04 10:36:11 -07:00
Hamidreza Norouzi ef0e752929 pFlowToVTK finalized and tested
- geometry conversion now can handle separate vtk files.
2024-03-30 08:35:16 -07:00
Hamidreza Norouzi f288f812fd pFlowToVTK is added
- this utility is not complete yet.
- geometry should be ajusted to be converted separately
2024-03-29 13:50:02 -07:00
Hamidreza Norouzi 19d1ad343d changes to cellsWallLevel0 to narrow down the contact list for particle-wall 2024-03-29 13:45:29 -07:00
Hamidreza Norouzi 596ebb0262 Periodic boundary condition implementation
- boundaryBase class, some methods has been added, index list on host added, boundaryList friended
- generalBoundary class is created for all boundary types
- searchBoundary class is created for contact search -> (regular, none),
- pointStructure can be accessed through contactSearch

to be done:
- A new class for periodic boundary condtion should be added. This class should handel pp and pw contact searchs.
- Messages should be rearranged for boundaries.
- Events and updates should be synced, so that the same contact list can be used for internal particles and boundary particles.
2024-03-26 09:05:02 -07:00
Hamidreza Norouzi c7e5b30959 no changes were made, just debug 2024-03-24 14:26:41 -07:00
Hamidreza Norouzi a900ff32bb phase1 of periodict boundary condition (serial)
upto now, particles are transfered from one boundary to another (mirro). this has been tested using iterateSphereParticles utility.
2024-03-24 14:25:03 -07:00
Hamidreza Norouzi 593cb9e6ed corrections for methods assign and append
The size change and capacity check was not correct.
A full test should be done on all the methods in this class
2024-03-24 14:22:48 -07:00
Hamidreza Norouzi 38f1c8ec59 change order of files in CMaleLists.txt
this is done for better compilation order and speeding up the compilation
2024-03-24 14:21:29 -07:00
Hamidreza Norouzi 3af1420ff8 Correction for mapperNBS 2024-03-24 03:57:48 -07:00
Hamidreza Norouzi 8beaec448a modifications for version (1.0) 2024-03-24 02:49:47 -07:00
Hamidreza Norouzi 6b3a4f017b structured data has been modified for new changes in version (1.0) 2024-03-24 02:02:48 -07:00
Hamidreza Norouzi 22405db699 Trisurface modified with new data structure
This commit is based on changes to geometry class of phasicFlow (version 1.0)
2024-03-24 02:01:02 -07:00
Hamidreza Norouzi 57850119ba containers are modified for errors
This commit is before the first release of phasicFlow from develop to main (version 1.0)
2024-03-24 01:56:49 -07:00
Hamidreza Norouzi 0aa7f2dba9 Integration AB2 2024-03-24 01:56:04 -07:00
Hamidreza Norouzi d21b7276e1 Interaction folder is finalized with adjustable box and tested for rotating drum 2024-03-24 01:46:19 -07:00
Hamidreza Norouzi be56d8ee2e MotionModel folder completed 2024-03-22 09:42:23 -07:00
Hamidreza Norouzi f27fbdd82c message event update for points and boundaries 2024-03-22 09:01:07 -07:00
Hamidreza Norouzi c3821d03c0 minor correction for localProcessors, localRank and localSize 2024-03-22 08:58:01 -07:00
Hamidreza Norouzi 49af1119f9 particles and sphereParticles classes were tested for exit boundary 2024-03-22 08:26:14 -07:00
Hamidreza Norouzi acfaacfe4a Geometry folder is finalized 2024-03-20 00:50:58 -07:00
Hamidreza Norouzi df8bea213d triSurface folder content is finalized 2024-03-19 22:29:31 -07:00
Hamidreza Norouzi c13231f4f0 Correction for non-trivially-copyable data type on host memory 2024-03-19 07:33:56 -07:00
Hamidreza Norouzi 5b4a524afe Motion models integrated into geometryMotion, stationaryWall is added 2024-02-05 21:27:24 -08:00
Hamidreza Norouzi 9dfe98eea2 triSurfaceField refactored 2024-02-05 01:29:45 -08:00
Hamidreza Norouzi 80b61d4d73 MotionModel CRTP, rotatingAxis and vibrating 2024-02-04 23:58:57 -08:00
Hamidreza Norouzi fd039f234f geometryPhasicFlow-pass1 and triSurface and multiTriSurface tested 2024-02-03 11:49:07 -08:00
Hamidreza Norouzi e10ee2b6b5 periodic boundary condition is added to pointStructure 2024-02-01 12:32:15 -08:00
Hamidreza Norouzi 40d74c846f output message has been removed 2024-01-30 22:51:42 -08:00
Hamidreza Norouzi 182e156786 sphereParticles tested on CPU, iteration, write to file, particle deletion 2024-01-29 07:57:19 -08:00
Hamidreza Norouzi c0ee29e39c boundaryExit beforeIteration, not tested 2024-01-28 14:43:10 -08:00
Hamidreza Norouzi 0df384f546 sphereParticles tested 2024-01-26 01:10:10 -08:00
Hamidreza Norouzi ab6308bb0a code refactor upto pointFields and insertion etc. 2024-01-25 03:10:44 -08:00
Hamidreza Norouzi 8dc8009311 properry class refactored 2024-01-25 03:09:08 -08:00
Hamidreza Norouzi 20be76aed0 Particle base class and sphereParticle class have been updated 2024-01-25 03:07:59 -08:00
Hamidreza Norouzi 9c86fe8f31 refactor up to particles.hpp 2024-01-21 13:26:23 -08:00
Hamidreza Norouzi 46bf08fa91 typeInfo.hpp updated 2024-01-20 12:33:13 -08:00
Hamidreza Norouzi 6bc180275e pointFieild 2024-01-20 06:05:05 -08:00
Hamidreza Norouzi 0096856c98 Field class and pointStructure modified and tested 2024-01-19 22:31:08 -08:00
Hamidreza Norouzi 90a1ac8f16 refactor upto pointField read 2024-01-18 04:51:06 -08:00
Hamidreza Norouzi f5d8daa608 MPI-parallelization upto IO file 2024-01-13 09:54:23 +03:30
Hamidreza Norouzi 280f53a230 before checking parallelIO for dictionary 2023-12-25 13:59:24 +03:30
Hamidreza Norouzi f1baff5a59 pointStructure with boundaries, construction tested 2023-12-17 15:27:05 +03:30
Hamidreza Norouzi 143a586730 new-message-observer-subscriber and anyList for holding a list of variables of any type 2023-11-08 20:35:18 +03:30
Hamidreza Norouzi d65aa02cbb Parallel IO before round 2 2023-10-28 12:09:40 +03:30
Hamidreza Norouzi 66fc880fcd math.hpp modified to remove ambiguis calls in cuda build 2023-10-19 12:18:29 +03:30
Hamidreza Norouzi d2cd132b62 parallel read and write is added-we still need to consider integrating it with fields 2023-10-17 20:30:20 +03:30
Hamidreza Norouzi 6e5fe608c6 Kokkos folder updated 2023-10-03 11:15:09 +03:30
Hamidreza Norouzi a14ce9f2bf corrections 2023-10-01 20:18:10 +03:30
Hamidreza Norouzi 5a94fc5688 dictionary is updated 2023-10-01 20:04:46 +03:30
Hamidreza Norouzi 59c148afa6 MPI part 2023-10-01 18:47:24 +03:30
Hamidreza Norouzi 100a211645 streams updated, processorsStream, masterStream 2023-09-30 20:18:17 +03:30
Hamidreza Norouzi bb7dc17c67 processors is added and error part modified 2023-09-28 23:14:12 +03:30
Hamidreza Norouzi 503ee6be5e Types folder updated 2023-09-28 07:44:39 +03:30
Hamidreza Norouzi 61f48ea654 Merge branch 'main' of https://github.com/PhasicFlow/phasicFlow into main 2023-06-07 05:41:02 -07:00
Hamidreza Norouzi 5942263e46 documentation for Insertion 2023-06-07 05:40:43 -07:00
hamidrezanorouzi 709c5263b1 constexpr removed from kernel execution 2023-05-06 13:51:03 +03:30
Hamidreza Norouzi 06a431f689 doc for integration 2023-04-23 12:47:12 -07:00