Commit Graph

259 Commits

Author SHA1 Message Date
PhasicFlow 9f489d07cc
Merge pull request #163 from PhasicFlow/develop
global damping is activated for velocity and rVelocity in both sphere…
2025-02-10 01:11:30 +03:30
HRN 8466e02d81 global damping is activated for velocity and rVelocity in both sphere and grain solvers 2025-02-10 01:10:13 +03:30
wanqing0421 f0f185983c bug fix during the build process of cuda mode 2025-02-08 23:47:21 +08:00
HRN db9b1e62e4 AB5 is added and bug is resolved when particles are being inserted 2025-02-08 18:06:30 +03:30
HRN b9ab015eb1 bug resolve, chekcForCollision is set to true for always, adjustable search box is set to false for always, old hearChanges has been removed 2025-02-07 23:12:53 +03:30
HRN 02e0b72082 All messages are revisited for internal points and boundaries 2025-02-06 11:04:30 +03:30
HRN 63bd9c9993 the need to provide neighborLength in domain dictionary is lifted. Now it is optional 2025-02-03 23:49:11 +03:30
HRN fac5576df1 periodict boundary condition ->DEBUG and some minor changes boundaries 2025-02-03 19:16:14 +03:30
HRN 0f9a19d6ee reduction in boundary class size 2025-02-01 23:33:19 +03:30
HRN 3b88b6156d Merge branch 'develop' of github.com:PhasicFlow/phasicFlow into develop 2025-02-01 22:15:34 +03:30
HRN 64c041a753 boundaryListPtr is created and other classes were changed accordingly 2025-02-01 22:14:41 +03:30
PhasicFlow 2d7f7ec17f
Merge pull request #153 from PhasicFlow/develop
changes in contactSearch and timeControl and timeInfo
2025-01-31 13:44:07 +03:30
HRN af2572331d some cleanup 2025-01-31 01:06:16 +03:30
HRN f98a696fc8 changes in contactSearch and timeControl and timeInfo 2025-01-27 14:26:20 +03:30
Hamidreza Norouzi 2168456584 correctoins for running on cuda 2025-01-26 12:19:25 +03:30
HRN 42b024e1ed globalDamping is deactivated for future developement 2025-01-25 19:56:01 +03:30
HRN debb8fd037 bug fix for stridedRange 2025-01-25 19:48:36 +03:30
HRN 0fc9eea561 timeInfo and timeValue
- timeInfo updated
- timeValue type is added = double
- AB2 bug fixed
- updateInterval for broadSearch is activated
2025-01-25 19:18:11 +03:30
HRN 1ccc321c1d Merge branch 'develop' of github.com:PhasicFlow/phasicFlow into develop 2025-01-24 21:15:51 +03:30
HRN f4b15bc50a timeControl 2025-01-24 21:15:16 +03:30
Hamidreza Norouzi 2ec3dfdc7e global damping is added to the code 2025-01-20 21:02:50 +03:30
Hamidreza Norouzi cb1faf04f8 bug fixes for build with float in cuda 2025-01-20 15:43:56 +03:30
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 ba8f307c56 Code recovery MPI part 2024-10-18 23:10:42 +03:30
HRN f317cef0ef Merge branch 'develop' into MPIdev after first commit after code loss 2024-09-21 13:39:17 +03:30
HRN 173d3c4917 first commit after code loss - develop branch 2024-09-21 13:37:03 +03:30
HRN 93617a6ee5 MPI developement zeroTime 2024-08-07 15:13:15 +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 d7e6292e41 Merge branch 'develop' into MPIdev 2024-05-24 20:51:13 +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
HRN 5a25556b8a changing blocking-recive to non-blocking (in boundaryProcessor) to improve MPI run 2024-05-24 00:10:15 +03:30
HRN a0c51e94e1 Merge branch 'develop' into MPIdev 2024-05-23 22:04:47 +03:30
Hamidreza Norouzi d5ff1d7906 modifications for MPI+CUDA run 2024-05-22 09:56:06 +03:30
Hamidreza Norouzi d2003b35e6 bug fix to work with CUDA run 2024-05-22 09:52:48 +03:30
Hamidreza Norouzi e05bd2c350 Merge branch 'develop' into MPIdev 2024-05-18 19:14:01 +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 665879f8ca Data transfer between processors
- Data transfer is done
- contact search at processor boundary is done
- contact force calculation at processor boundary is done
- tests have been done on rotating drum using serial and openMP
2024-05-12 19:06:53 +03:30
HRN e756d471ba Merge branch 'develop' into MPIdev 2024-05-05 23:07:48 +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 68b7d141fa boundaryProcessor -> transferData
- point data is being transferred (no notification yet).
- field data should be transferred
2024-05-05 22:54:12 +03:30
HRN 525e972c20 Merge branch 'develop' into MPIdev 2024-05-05 18:46:33 +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
HRN 6f48eca95b The problem with memory leak in MPI data transfer fixed and tested. 2024-04-30 00:28:29 +03:30
Hamidreza Norouzi d0798dfc0b clean up of un-used codes 2024-04-27 09:11:09 -07:00
Hamidreza Norouzi 729c088c9f Merge branch 'develop' into MPI 2024-04-27 09:05:49 -07:00
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 6241fa6dd3 MPI particle id handler 2024-04-27 08:59:13 -07:00
Hamidreza Norouzi 5f90605a41 MPI-boundaries for processor 2024-04-27 08:55:00 -07:00
Hamidreza Norouzi 94fcc3d01b MPI devleopment with boundaries for contact search and data communication, memory leak 2024-04-27 08:44:35 -07:00
Hamidreza Norouzi 1321e6340e Merge branch 'develop' into MPI 2024-04-20 06:16:28 -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 5864cea7e8 Merge branch 'develop' into MPI
- This is the merge from develop branch to get latest update from the this branch to start MPI developemet.
- This stage boundaries and data exchange between processors through boundaries are handled.
2024-04-18 10:19:19 -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