Commit Graph

189 Commits

Author SHA1 Message Date
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
Hamidreza Norouzi 1fe2256079 Doc for Geometry added 2023-04-13 11:42:41 -07:00
hamidrezanorouzi e729fe6363 bug fix binrayIO and sorting for cuda build 2023-04-12 23:37:05 +03:30
Hamidreza Norouzi 57fd66a502 Merge branch 'mortonSoring' into main 2023-04-11 22:21:20 -07:00
Hamidreza Norouzi c46aaab2db data read and write in binary 2023-04-11 22:19:36 -07:00
Hamidreza Norouzi 93945516cb mortong sorting added, contactList left 2023-04-09 08:06:35 -07:00
Hamidreza Norouzi b5572d3f7f bug fix for push_back 2023-04-03 05:48:54 -07:00
Hamidreza Norouzi 651c74313c bug fix for particle insertion and id handling 2023-04-02 23:34:37 -07:00
Hamidreza Norouzi 9105a503ce motion model docs are added 2023-04-02 09:17:16 -07:00
Hamidreza Norouzi 8faa1a5e53 documentation for rotatingAxis 2023-03-31 10:48:23 -07:00
Hamidreza Norouzi e8e093dbfc CLI::Timer renamed to remove compiler errors 2023-03-30 15:07:45 -07:00
hamidrezanorouzi 3d2e242594 documentation added, sample in property.hpp 2023-03-23 22:53:35 +03:30
hamidrezanorouzi 473dbd4497 timeName correction 2023-03-17 16:35:57 +03:30
Hamidreza Norouzi f1052acc39 timeControl correct 2023-03-16 11:52:37 -07:00
hamidrezanorouzi 80647e5103 bug fix for cudaRun in indexContainer 2023-03-16 21:22:24 +03:30
Hamidreza Norouzi ef1e3c1e33 timers modefied 2023-03-16 06:49:33 -07:00
hamidrezanorouzi c6ddf00d7b remove set to zero for fluid force 2023-03-15 06:52:15 +03:30
Hamidreza Norouzi 7fec15e3dc runtime dynamic link library and geometryPhasicFlow modification 2023-02-25 05:15:17 -08:00
Hamidreza Norouzi 4c0ef16316 bug fix for loop stall 2023-02-20 07:53:48 -08:00
Hamidreza Norouzi 360eda7c6c change in particle insertion ctor and addition to DEMSystem 2023-02-19 11:35:35 -08:00
Hamidreza Norouzi aa4ac3372c correction for timeFolder save 2023-02-16 02:33:11 -08:00
hamidrezanorouzi 940318c239 correction for fluid force transfer to DEMsystem 2023-02-12 23:39:21 +03:30
Bahram 074398f5c7 Comment to test the git sync 2023-01-27 10:05:06 +01:00
Bahram 154e912c7b Correcting time constructor for OpenFOAM 2023-01-26 16:00:55 +01:00
PhasicFlow e895e689be
Merge pull request #65 from PhasicFlow/vibratingWall
bug fix for precision write to file and solid name in stl file
2023-01-18 12:21:07 +03:30
hamidrezanorouzi 55ba36cc80 bug fix for precision write to file and solid name in stl file 2023-01-18 12:19:31 +03:30