You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cantera Users' Group
I just want to set a larger grid point number in my FreeFlame simulation. I find the function
set_max_grid_points(domain, npmax) in Sim1D but I can't directly change in FreeFlame.
If I select the f = ct.FreeFlame(gas, width=props['width']) as the domian, KeyError: 'Domain named "<cantera.onedim.FreeFlame object at 0x00000273CB73B8C0>" not found.'
How can I get the right domian in FreeFlame and what's the right way to change the max grid points in FreeFlame?
Z. Weng
unread,
Feb 16, 2024, 11:48:46 AM2/16/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cantera Users' Group
Hi,
The FreeFlame object contains three domains by default, i.e. inlet, outlet and flame.
f.set_max_grid_points(f.flame, npmax) or f.max_grid_points(npmax) should work. The current maximum grid points can be printed via f.max_grid_points.
y xue
unread,
Feb 16, 2024, 12:51:07 PM2/16/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cantera Users' Group
The function f.set_max_grid_points(f.flame, npmax) works~Thank you very much~