Variable parametric boundary condition studies (Parametric Study)

27 views
Skip to first unread message

Ananth Narayan S am24d038

unread,
Apr 28, 2026, 3:23:16 AM (yesterday) Apr 28
to basilisk-fr
Greetings all,

I am relatively new to Basilisk, working on an EHD multiphase flow. Trying to vary the Capillary number (CaE) so as to determine the deformation factor (D). For a constant CaE (= 0.32), I got the correct answer for D. Now I want to vary CaE using the list and save D over time (Validation/e1R11v%d.csv) for various CaE. I am facing difficulty in this.

I tried both ways of using static data (e1R11_static.c) types as below, and even with argv (e1R11_argv.c), where I get the case number and CaE from the terminal

typedef struct {
  int caseNo;
  double CaE;
} CaseData;

static CaseData casesList[] = {
  {1, 0.05},
  {2, 0.10},
..
..
..
  {12, 0.34}
};

Please refer to the code, which has been modified from Taylor.c. I can see that statsf(phi).max is not getting executed, and the code stalls there. The reason is to verify whether the boundary conditions are actually being updated by CaE or if they're being set to 0.0. I don't know how to handle such cases for parametric studies in Basilisk. 

Thank you
Ananth
e1R11_static.c
e1R11_argv.c
Reply all
Reply to author
Forward
0 new messages