← Back to team overview

yade-dev team mailing list archive

Re: Capillary scripts

 

Hi Klaus,


You're right about Python, the reason why I used Matlab/Octave instead is quite stupid: I'm much more at ease with these softwares...


I will give a close look to what's inside "examples" to figure out which folder to use, thanks for suggestion !


Jerome



--------------------------------------------------

Jerome Duriez, Research Associate

University of Calgary, Dpt of Civil Engineering

+1 403 220 7367


________________________________
From: Yade-dev <yade-dev-bounces+jerome.duriez=ucalgary.ca@xxxxxxxxxxxxxxxxxxx> on behalf of Klaus Thoeni <klaus.thoeni@xxxxxxxxx>
Sent: September-13-16 8:58 PM
To: yade-dev@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Yade-dev] Capillary scripts

Hi Jerome,

great addition and thanks for sharing the scripts.

One question, why did you use Matlab/Octave and not python? Python scripts
would "fit" better into the trunk ;-)

I terms of where to upload the scripts. I would suggest a folder in
"examples" with an example, your scripts and instructions. I think some people
already used this approach. But anyway, this is just a suggestion.

Cheers
Klaus

On Wed, 14 Sep 2016 01:19:16 AM Jerome Duriez wrote:
> Hello,
>
>
> After a couple of private emails with Bruno, I can confirm that these
> scripts work with GNU Octave as well (in addition to the less open-source
> friendly MATLAB )
>
>
> We mentionned with Bruno the possibility uploading these .m scripts on the
> wiki, however I would greatly prefer they are in trunk, in order to enjoy
> the revision tracking tools.
>
> As these scripts are not bound, from my point of view, to any non
> open-source tool, I think it should be fine. Any opinion ? (Bruno ? others
> ?)
>
>
> Another question is what would be the best trunk subfolder for these files ?
> trunk/scripts ?
>
>
>
> --------------------------------------------------
>
> Jerome Duriez, Research Associate
>
> University of Calgary, Dpt of Civil Engineering
>
> +1 403 220 7367
>
>
> ________________________________
> From: Yade-dev
> <yade-dev-bounces+jerome.duriez=ucalgary.ca@xxxxxxxxxxxxxxxxxxx> on behalf
> of Jerome Duriez <Jerome.Duriez@xxxxxxxxxxx> Sent: September-08-16 6:02 PM
> To: Yade dev
> Subject: [Yade-dev] Capillary scripts
>
>
> Hi there,
>
>
> Attached are three .m scripts aimed at generating capillary files for use
> with Law2_ScGeom_CapillaryPhys_Capillarity. Obviously, the idea, discussed
> previously here and there on the mailing lists, is to make this part of
> YADE more "open-source". Also, there is two major differences with previous
> (L. Scholtes') work:
>
>
> * these scripts may generate capillary files accommodating any contact angle
> value, instead of 0 previously
>
>
> * they provide new output as an "orientation tensor" defined from the
> fluid-fluid interface of capillary bridges. These data would constitute new
> attributes of CapillaryPhys, see "nn11" and "nn33" in the attached version
> of CapillaryPhys.hpp. (Note that these nn11 and nn33 can be used to get the
> bridge fluid-fluid interface S as S = 2*nn11 + nn33). This is about
> post-processing only.
>
>
> The attached README.txt details the role of the .m files and how to use
> them: interested users in the end just need to give a look to, and launch,
> writesCapFile.m.
>
>
>
> The core of the work, as usual, is solving the Laplace-Young equation for a
> capillary bridge configuration. The corresponding, quite classical,
> equations appear in solveLiqBridge file/function. There will be a dedicated
> journal paper on this topic, currently under "Minor Revision" review.
>
>
>
> These files are ready to be pushed to trunk, together with updated
> CapillaryPhys (see attached), and Law2_ScGeom_CapillaryPhys_Capillarity, in
> order to read the new data (nn11 and nn33) from generated capillary files.
>
>
> This email is for possible discussion before I perform the commit.
>
>
> Cheers,
>
>
> Jerome
>
>
> PS: Vaclav, I took the liberty cc-ing you since I had once the feeling you
> would be interested in such scripts. (Woo does not include any capillary
> interactions at the moment, though ?)
>
>
>
> --------------------------------------------------
>
> Jerome Duriez, Research Associate
>
> University of Calgary, Dpt of Civil Engineering
>
> +1 403 220 7367


_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Yade developers in Launchpad<https://launchpad.net/~yade-dev>
launchpad.net
yade-dev@xxxxxxxxxxxxxxxxxxx Policy: You must be a team member to subscribe to the team mailing list. View public archive View subscribers


Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

References