![]() PyRunner( command= 'sim. ![]() PyRunner( command= 'sim.deletePar( )',iterPeriod= 10, label='checkPar'),įluidCoupling, #to be called after timestepper GlobalStiffne ssTimeStepper( timestepSafet圜 oefficient= 0.7, label = "ts"), InsertionSort Collider(, allowBiggerThan Period= True), This function is called in O.engines as : eraseId( b) # erase a specific id from the coupling getIdList( ) # get the ids of bodies in existing couplingįluidCoupling. I would suggest to make the following changes in your Yade script : Modifications in the source code have been made to insert/delete bodies. Raise ValueError("Body velocity exceeds imposed shear velocity by ", abs(bodyVel-maxVel)) Proppant = JCFpmMat(type=2,young=Young_p,frictionAngle=FrictAng_p,density=Density_p,tensileStrength=TensileStr_p,cohesion=Cohesion_p,label='proppant') Raise ValueError("Body velocity exceeds imposed shear velocity by ", abs(bodyVel- maxVel) ) For those interested in detailed instructions regarding data extraction from one time step only: I created a sub folder called VTK with the command foamToVTK -time 100. mesh, runTime Local implementation les Main code, named consistently with the executable createFields. Proppant = JCFpmMat( type=2, young=Young_ p,frictionAngle =FrictAng_ p,density= Density_ p,tensileStreng th=TensileStr_ p,cohesion= Cohesion_ p,label= 'proppant' ) mesh creation, Courant number calculation and similar Held centrally for easier maintenance Enforce consistent naming between executables, e.g. #example of spheres in shear flow : two-way point force coupling InitMPI() #Initialize the mpi environment, always required.įluidCoupling = yade.FoamCoupli ng() #Initialize the engineįluidCoupling. When I was working with just Yade, I reset this parameter after O.step and then use the gui to run the rest of the simulation. I'm not too sure how to put the pyrunner before the fluidcoupling engine, I was also wondering how to reset the aabbEnlargeFactor after the first iteration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |