Hi,every one
Here I have some question about particle tracking in version4.0.2:
Question 1 : what can I do if I want to delete a particle. I make the particle ipepa(jisor,ip)=0 in version 2.0.6,and then this particle will be deleted. But I do it in version4.0.2 by same ways, I found it did not work. Can you tell the correct method?
Question 2 : How can I do if I want save the message of particles every 100 steps.
PS: I use code_saturne4.0.2 with no GUI, so I can not solve above questions with GUI.
Thank you very much!
Some question about particle tracking in version4.0.2
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Some question about particle tracking in version4.0.2
Hello,
In what routine are you changing the value for ipepa(jisor,ip) ?
This should work to remove particles.
As for particles the log frequency, the associated keyword seems not to be documented, except in the GUI.
Is there a reason you cannot use the GUI (combining it with more advanced user subroutines) ?.
Regards,
Yvan
In what routine are you changing the value for ipepa(jisor,ip) ?
This should work to remove particles.
As for particles the log frequency, the associated keyword seems not to be documented, except in the GUI.
Is there a reason you cannot use the GUI (combining it with more advanced user subroutines) ?.
Regards,
Yvan
Re: Some question about particle tracking in version4.0.2
Yvan Fournier wrote:Hello,
In what routine are you changing the value for ipepa(jisor,ip) ?
This should work to remove particles.
As for particles the log frequency, the associated keyword seems not to be documented, except in the GUI.
Is there a reason you cannot use the GUI (combining it with more advanced user subroutines) ?.
Regards,
Yvan
Thank you for your help, I make ipepa(jisor,ip)=0 after lagent.f90. It always stop at subroutines lagcou. Can you tell me how can I do if I want to remove the particles?
Thank you very much!
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Some question about particle tracking in version4.0.2
Hello,
I need to check how things are organized. I know the particle tracking (cs_lagr_tracking.c) stage relatively well, and lagent a bit, but am less familiar with the other stages.
Entering "lagdep" in cs_lagr_tracking.c, particles with ipepa(jisor,ip) should be removed.
For the rest, I'll get back to you after I check (or you can try to check the code an modify ipepa(jisor,ip) in the user subroutine called closest before lagdep...)
Regards,
Yvan
I need to check how things are organized. I know the particle tracking (cs_lagr_tracking.c) stage relatively well, and lagent a bit, but am less familiar with the other stages.
Entering "lagdep" in cs_lagr_tracking.c, particles with ipepa(jisor,ip) should be removed.
For the rest, I'll get back to you after I check (or you can try to check the code an modify ipepa(jisor,ip) in the user subroutine called closest before lagdep...)
Regards,
Yvan