espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo-users] Question about OIF


From: Mehdi Nikfar
Subject: Re: [ESPResSo-users] Question about OIF
Date: Wed, 3 Jul 2019 16:18:55 -0400

Thanks for your reply.

I built the python branch and got the following error:

 File " random_seeding.py", line 139, in <module>
    particle_mass=0.5)
  File "/home/mehdi/Packages/espresso-python/build/src/python/object_in_fluid/oif_classes.py", line 829, in __init__
    self.cell_type.system.max_oif_objects = self.cell_type.system.max_oif_objects + 1
AttributeError: 'espressomd.system.System' object has no attribute 'max_oif_objects'

It seems that this version cannot handle random_seeding.py? Right? I also noticed that LBM has been removed from python version. Am I right? 

On Wed, Jul 3, 2019 at 3:14 PM Kai Szuttor <address@hidden> wrote:
Hi

it seems like the script you used is adapted to the new syntax of ESPResSo. So you could try to use the current HEAD by cloning the python branch from github via:

git clone https://github.com/espressomd/espresso

Best,

Kai
On 3. Jul 2019, at 20:19, Mehdi Nikfar <address@hidden> wrote:

Hello there,

I am a new user of  ESPResSo 4.0.2. I plan to simulate the RBCs' motion in microfluidic systems. As the first step I run the motivation.py located in object_in_fluid folder and I did not have any difficulty running the script. Afterwards, since I wanted to increase the number of RBCs randomely, I downloaded random_seeding.py  from HERE and generate 10 RBCs, but I faced the following error in running the script:
 
  File "Random.py", line 163, in <module>
    system.thermostat.set_lb(LB_fluid=lbf, gamma=1.5)
  File "espressomd/thermostat.pyx", line 47, in espressomd.thermostat.AssertThermostatType.decoratorfunction.wrapper (/home/mehdi/Packages/espresso/build/src/python/espressomd/thermostat.cpp:1731)
  File "espressomd/thermostat.pyx", line 333, in espressomd.thermostat.Thermostat.set_lb (/home/mehdi/Packages/espresso/build/src/python/espressomd/thermostat.cpp:4228)
TypeError: set_lb() got an unexpected keyword argument 'gamma'

Could you please help me to figure this out?
--
Best Regards,

Mehdi Nikfar

Graduate Research Assistant
Department of Mechanical Engineering and Mechanics
Lehigh University
Bethlehem, PA 18015



--
Best Regards,

Mehdi Nikfar

Graduate Research Assistant
Department of Mechanical Engineering and Mechanics
Lehigh University
Bethlehem, PA 18015

reply via email to

[Prev in Thread] Current Thread [Next in Thread]