Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
166 changes: 166 additions & 0 deletions .claude/commands/add-paper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
---
description: Parse BibTeX and add research paper to _research/index.md
argument-hint: [bibtex-entry]
allowed-tools: Read, Edit, AskUserQuestion, Write
---

# Add Research Paper from BibTeX

Parse a BibTeX entry and add it to `_research/index.md` following the exact format used by the CoMPhy Lab website.

## Workflow

1. **Parse BibTeX Entry**
- Extract authors, title, journal/venue, year, volume, pages, DOI, arXiv ID
- Handle special characters and formatting

2. **Determine Publication Type**
- If journal contains "arXiv preprint" → Add to "Work in Progress" section
- Otherwise → Add to appropriate year section

3. **Format Entry**
- For published papers: Use numbered format with `<h3 id="NUM">[NUM]`
- For preprints: Use ### without numbering
- Bold lab members: **Sanjay, V.** and **Dixit, A.**
- Always list all authors, never use "et al."

4. **Interactive Elements**
- Ask user for tags based on title keywords
- Suggest: Bubbles, Drops, Jets, Sheets, Non-Newtonian, Coalescence, Impact forces, etc.
- Ask if Featured tag should be added (max 2 featured papers on homepage)
- Ask for optional GitHub URL or YouTube embed

5. **Generate Badges**
- arXiv badge if arXiv ID present
- Journal badge with DOI if available
- Blog badge (standard for all papers)
- GitHub badge if URL provided

## Implementation Steps

### Step 1: Parse BibTeX

Read the user-provided BibTeX entry and extract:

- Citation key (e.g., jana2025impacting)
- Authors list - format as "LastName, F." (use first initial only)
- Title (remove curly braces, preserve capitalization)
- Journal/venue name
- Year, volume, pages, article number
- DOI from `doi` field
- arXiv ID from `eprint` field or journal field if contains "arXiv:"
- Any note fields

### Step 2: Check for Existing Preprint

For published papers, search "Work in Progress" section for matching preprint by:

- Similar title (fuzzy match)
- Same authors and year

If found, note it for removal after adding published version

### Step 3: Format Authors

- Format: "Author1, A., Author2, B., & Author3, C."
- Bold lab members: `<strong>Sanjay, V.</strong>` and `<strong>Dixit, A.</strong>`
- Always list all authors regardless of number (do not use "et al.")

### Step 4: Determine Section and Number

For published papers:

- Find the highest existing paper number (currently [17])
- New paper gets next number
- Create year section if doesn't exist
- Insert in reverse chronological order within year

For preprints (Work in Progress):

- No numbering
- Add to "Work in Progress" section
- Format: `### Authors. Title. Journal (Year).`

### Step 5: Ask for Tags

Suggest tags based on keywords in title/abstract:

- Bubbles, Drops, Jets, Sheets
- Non-Newtonian, Coalescence
- Superamphiphobic-surfaces, Impact forces
- Dissipative anomaly, Soft-matter-singularities
- Featured (only if user confirms, max 2 on homepage)

### Step 6: Generate Badges

Standard badges format:

```markdown
[![arXiv](https://img.shields.io/static/v1.svg?style=flat-square&label=arXiv&message=XXXX.XXXXX&color=green)](https://arxiv.org/abs/XXXX.XXXXX)
[![JOURNAL](https://img.shields.io/static/v1.svg?style=flat-square&label=JOURNAL&message=OA&color=orange)](https://doi.org/DOI)
[![GitHub](https://img.shields.io/badge/GitHub-100000?style=flat-square&logo=github&logoColor=white)](GITHUB_URL)
[![Blog](https://img.shields.io/badge/Blog-Coming%20Soon-yellow?style=flat-square&logo=obsidian&logoColor=white)](https://blogs.comphy-lab.org/0_ToDo-Blog-public)
```

Common journal abbreviations:

- Nature Communications → Nat. Commun.
- Journal of Fluid Mechanics → JFM
- Physical Review Letters → PRL
- Physics of Fluids → Phys. Fluids
- AIChE Journal → AIChE J.
- Chemical Engineering Science → Chem. Eng. Sci.
- Science Advances → Sci. Adv.
- Building Simulations → Build. Simul.

### Step 7: Optional Extras

Ask if user wants to add:

- GitHub repository URL
- YouTube video embed (use youtube-nocookie.com domain)
- Images or highlights section

### Step 8: Insert into File

- Read current `_research/index.md`
- Find appropriate section
- Insert formatted entry maintaining proper spacing
- If replacing preprint, remove from Work in Progress
- Preserve blank lines between entries

## Example Input/Output

Input BibTeX:

```bibtex
@article{bashkatov2025electrolyte,
title={Electrolyte droplet spraying in H2 bubbles during water electrolysis},
author={Bashkatov, A. and Bürkle, F. and Demirkır, Ç. and Ding, W. and Sanjay, V. and Babich, A. and Yang, X. and Mutschke, G. and Czarske, J. and Lohse, D. and Krug, D. and Büttner, L. and Eckert, K.},
journal={Nature Communications},
volume={16},
pages={4580},
year={2025},
doi={10.1038/s41467-025-59762-7}
}
```

Output (for paper [18]):

```markdown
<h3 id="18">[18] Bashkatov, A., Bürkle, F., Demirkır, Ç., Ding, W., <strong>Sanjay, V.</strong>, Babich, A., Yang, X., Mutschke, G., Czarske, J., Lohse, D., Krug, D., Büttner, L., & Eckert, K. Electrolyte droplet spraying in H2 bubbles during water electrolysis. Nat. Commun., 16, 4580 (2025).</h3>

<tags><span>Bubbles</span><span>Jets</span></tags>

[![Nat. Commun.](https://img.shields.io/static/v1.svg?style=flat-square&label=Nat.%20Commun.&message=OA&color=orange)](https://doi.org/10.1038/s41467-025-59762-7)
[![Blog](https://img.shields.io/badge/Blog-Coming%20Soon-yellow?style=flat-square&logo=obsidian&logoColor=white)](https://blogs.comphy-lab.org/0_ToDo-Blog-public)
```

## Important Notes

- Maintain exact formatting with proper spacing
- Lab members always in bold
- Numbered papers go in year sections, preprints in Work in Progress
- Always include Blog badge
- Check for duplicate entries before adding
- When moving preprint to published, ensure all metadata is updated
130 changes: 130 additions & 0 deletions .claude/commands/add-person.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# Add Person to Team Page

Add a new person to the team page in the appropriate category (Present Team, Active Collaborations, or Alumni).

## Task Instructions

1. **Gather Information**: Ask the user for the following details:
- Full name (required)
- Degree/title (e.g., "M.Sc.", "Ph.D.", "Dr.", "Prof.", "B.Sc.")
- Category: Present Team, Active Collaborations, or Alumni
- Position/role (e.g., "Ph.D. Student, University of Twente")
- Image path (optional - if not provided, use `/assets/images/team/anonymous.svg`)

**For Present Team members:**
- Co-advisor information (if applicable)
- Education history (bullet points with institutions, years, thesis links)
- Research interests
- Social/academic links: GitHub, Google Scholar, Bluesky, Twitter/X, LinkedIn, ORCID, Wikipedia

**For Active Collaborations:**
- Affiliation with institution URL
- Collaboration topics
- Social/academic links: Google Scholar, Twitter/X, Bluesky, GitHub, ORCID, Wikipedia

**For Alumni:**
- Graduation year and degree
- Current position
- Institution where graduated
- Thesis title and link
- Social links: LinkedIn, GitHub

2. **Determine Image Path**:
- If adding a Present Team member WITH a photo:
- Find the highest numbered image in `/assets/images/team/` (currently goes up to 6.jpg)
- Use next number (e.g., if highest is 6.jpg, use 7.jpg)
- Tell user: "Please add the team member's photo as `/assets/images/team/[NUMBER].jpg` or `.webp`"
- If NO photo provided: Use `/assets/images/team/anonymous.svg`

3. **Read the current team page**:

```bash
Read _team/index.md
```

4. **Format the entry** based on category:

### Present Team Format

```markdown
### [Name] [Degree]

<span style="font-size: 1.1em;">[Position]</span>

[If co-advised: Co-advised with [Advisor Name and link]]

[Social links with Font Awesome icons - each on separate line]
[<i class="fa-brands fa-github" style="font-size: 2.5em; color: black;"></i>](URL)
[<i class="ai ai-google-scholar-square" style="font-size: 2.5em;"></i>](URL)
[<i class="fa-brands fa-bluesky" style="font-size: 2em; color: #0085ff;"></i>](URL)

<img src="/assets/images/team/[NUMBER].jpg" alt="[Name]" loading="lazy" width="200" height="200">

- [Education line 1]
- [Education line 2, with thesis link if applicable: <a href="URL" class="pdf-link" style="display: inline-flex; align-items: center; margin-left: 5px;"><i class="fa-solid fa-file-pdf pdf-link-icon"></i>Thesis Title</a>]

**Research Interest:** [Research interests]
```

### Active Collaborations Format

```markdown
### [Title] [Name]

[Social links with Font Awesome icons]
[<i class="ai ai-google-scholar-square" style="font-size: 2.5em;"></i>](URL)
[<i class="fa-brands fa-x-twitter" style="font-size: 2em; color: #000000;"></i>](URL)

- [Position, Institution with link]

**Collaboration on:** [Topics]
```

### Alumni Format

```markdown
### [Name] [Degree]

[Social links - typically LinkedIn and/or GitHub]
[<i class="fa-brands fa-linkedin" style="font-size: 1.5em; color: black;"></i>](URL)
[<i class="fa-brands fa-github" style="font-size: 2em; color: black;"></i>](URL)

- **Now:** [Current position]
- **[Year]:** Graduated with [Degree], [Institution]
- <a href="[URL]" class="pdf-link" style="display: inline-flex; align-items: center;"><i class="fa-solid fa-file-pdf pdf-link-icon"></i>[Thesis Title]</a>
```

## Icon Reference

Use appropriate icons based on available links:

- GitHub: `<i class="fa-brands fa-github" style="font-size: 2.5em; color: black;"></i>`
- Google Scholar: `<i class="ai ai-google-scholar-square" style="font-size: 2.5em;"></i>`
- Bluesky: `<i class="fa-brands fa-bluesky" style="font-size: 2em; color: #0085ff;"></i>`
- Twitter/X: `<i class="fa-brands fa-x-twitter" style="font-size: 2em; color: #000000;"></i>`
- LinkedIn: `<i class="fa-brands fa-linkedin" style="font-size: 1.5em; color: black;"></i>`
- ORCID: `<i class="fa-brands fa-orcid" style="font-size: 2.25em;"></i>`
- Wikipedia: `<i class="fa-brands fa-wikipedia-w" style="font-size: 2em; color: #000000;"></i>`
- PDF/Thesis: `<i class="fa-solid fa-file-pdf pdf-link-icon"></i>`

## Insert Location

- For **Present Team**: Add before "### We need you!" section
- For **Active Collaborations**: Add at the end of that section (before "## Our Alumni")
- For **Alumni**: Add at the beginning of that section (most recent first)

## Final Steps

1. Save the file and confirm the addition
2. If a new image number was assigned, remind user to add the actual photo file to the specified path

## Important Notes

- Always maintain the exact formatting and indentation of existing entries
- Use proper HTML entities where needed (e.g., `&#8209;` for non-breaking hyphens in year ranges)
- Keep consistent spacing between sections (single blank line between entries)
- Font Awesome icon sizes and colors must match existing entries in each section
- Image dimensions are always `width="200" height="200"` for team members
- The placeholder.jpg should never be used - use anonymous.svg instead
- Links should use Markdown format with icons in square brackets
- All paths should use forward slashes and start with `/` for absolute paths
37 changes: 0 additions & 37 deletions .claude/settings.json

This file was deleted.

2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ GEM
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.4.0)
rexml (3.4.4)
rouge (4.5.1)
safe_yaml (1.0.5)
sass-embedded (1.83.4)
Expand Down
29 changes: 12 additions & 17 deletions News.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@

Starting <strong>July 1st, 2025</strong>, the CoMPhy Lab will be relocating to Durham University, UK. We are excited to join the [Condensed Matter Physics section](https://www.durham.ac.uk/research/institutes-and-centres/condensed-matter-physics/) in the [Department of Physics](https://www.durham.ac.uk/departments/academic/physics/) and continue our research in computational physics and fluid dynamics in our new home.

### November

- <strong>Jnandeep Talukdar</strong> <a href="https://github.com/spilltheT"><i class="fa-brands fa-github" style="font-size: 1.5em; color: #8a2be2;"></i></a> won the <a href="https://khmw.nl/khmw-jong-talent-prijzen-khmw-young-talent-awards/" class="blue-link">KHMW Young Talent Graduation Award</a> for Mechanical Engineering and Materials Science 2025 for his master's thesis on fundamental research in droplet formation. <strong>Thesis:</strong> <a href="https://bit.ly/thesisJnan" class="pdf-link" style="display: inline-flex; align-items: center;"><i class="fa-solid fa-file-pdf" style="margin-right: 8px; font-size: 1.2em; color: #e63946;"></i>Singularities with Surfactants</a>

### September

- [Saini, M., <strong>Sanjay, V.</strong>, Saade, Y., Lohse, D., & Popinet, S. Implementation of integral surface tension formulations in a volume of fluid framework and their applications to Marangoni flows. J. Comput. Phys., 542, 114348 (2025).](/research#18)

### August

- [Mclauchlan, J., Walker, J. S., <strong>Sanjay, V.</strong>, Jalaal, M., Reid, J. P., Squires, A. M., & Souslov, A. Bouncing microdroplets on hydrophobic surfaces. Proc. Natl. Acad. Sci., 122, e2507309122 (2025).](/research#19)

### July

- <strong>Saumili Jana</strong> <a href="https://github.com/SaumiliJana"><i class="fa-brands fa-github" style="font-size: 1.5em; color: #8a2be2;"></i></a> received the award for best master's thesis from IIT Kharagpur. <strong>Thesis:</strong> <a href="https://bit.ly/ThesisJana" class="pdf-link" style="display: inline-flex; align-items: center;"><i class="fa-solid fa-file-pdf" style="margin-right: 8px; font-size: 1.2em; color: #e63946;"></i>Retract or Collapse? The Role of Viscosity and Viscoelasticity on Bubble Dynamics</a>
Expand Down Expand Up @@ -48,20 +60,3 @@ Starting <strong>July 1st, 2025</strong>, the CoMPhy Lab will be relocating to D
<a href="https://doi.org/10.1017/jfm.2025.237" class="doi-link"><i class="fa-solid fa-arrow-up-right-from-square" style="margin-right: 8px; font-size: 1.2em;"></i>View Paper</a>
</div>
</div>

### April

- <strong>Vatsal Sanjay</strong> awarded the <a href="https://www.ammodo.org/story/ammodo-science-fellowship-2024" class="blue-link">Ammodo Science Fellowship</a>. His research will focus on understanding fluid dynamics in fungal networks—investigating how these vast underground systems transport water, nutrients, and genetic information across ecosystems.

<div class="news-flex-row">
<div class="news-flex-row__image-container">
<img src="/assets/images/news/vatsal-ammodo-2025.jpg" alt="Vatsal Sanjay - Ammodo Science Fellowship" class="news-image" loading="lazy" decoding="async">
</div>
<div class="news-flex-row__links-container">
<a href="https://ammodo-science.webflow.io/researches/vatsal-sanjay" class="doi-link"><i class="fa-solid fa-arrow-up-right-from-square" style="margin-right: 8px; font-size: 1.2em;"></i>Read More</a>
</div>
</div>

<div class="news-credit">
Image credit: J. Heitman, B. J. Howlett, P. W. Crous, E. H. Stukenbrock, T. Y. James & N. A. R. Gow, The fungal kingdom, John Wiley & Sons (2020)
</div>
Loading