# How to reduce domain size

**URL:** <https://vapor.discourse.group/t/how-to-reduce-domain-size/225>\
**Category:** Uncategorized\
**Created:** [September 6, 2022, 2:37pm UTC](https://vapor.discourse.group/t/how-to-reduce-domain-size/225 "2022-09-06T14:37:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![liuchihl](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@liuchihl](https://vapor.discourse.group/u/liuchihl)\
**Post date:** [September 6, 2022, 2:37pm UTC](https://vapor.discourse.group/t/how-to-reduce-domain-size/225/1 "2022-09-06T14:37:46Z")

</div>

The domain (the white box) is very large compared to my image (see below), I would like the domain to be exactly the same as my figure domain. Do you know how to do that? Thanks

 ![example](https://global.discourse-cdn.com/free1/uploads/vapor/original/1X/8caa71ae08c11b34acad91e850afcbc29085415a.png)

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [September 6, 2022, 4:14pm UTC](https://vapor.discourse.group/t/how-to-reduce-domain-size/225/2 "2022-09-06T16:14:46Z")

</div>

Hi, thanks for posting your question to our forum. From our email correspondence:

> 1. Do you know how to save the configurations (opacity values, color scales, etc) once I am done with a single case? It would be great if I can save all those tweaks for the next case so that I don’t have to repeat them again (and it’s hard to take note of some values).

If you click on the gear icon in the Transfer Function Editor (where you edit color and opacity along your variable’s histogram), there will be options to “Save Transfer Function” and “Save Colormap”.

Save Transfer Function will save both color and opacity values in a file with a .tf3 extension. Save Colormap will omit the opacity values.

> 1. the domain (the white box) is very large compared to my actual image (see below), I would like the domain to be exactly the same as my figure domain. Do you know how to do that?

The OSU link to your sample file is requiring login credentials that I don’t have. Is there another hosting service that’s open that you could share it with? Google drive typically works well for this.

---

<div class="post-metadata">

**Author:** ![liuchihl](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@liuchihl](https://vapor.discourse.group/u/liuchihl)\
**Post date:** [September 7, 2022, 3:25pm UTC](https://vapor.discourse.group/t/how-to-reduce-domain-size/225/3 "2022-09-07T15:25:36Z")

</div>

Here is the data:  
[https://drive.google.com/file/d/1bxWxgFhWGu511Zp4Jlmst0AkzbdKfITC/view?usp=sharing](https://drive.google.com/file/d/1bxWxgFhWGu511Zp4Jlmst0AkzbdKfITC/view?usp=sharing)  
Thanks

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [September 7, 2022, 7:35pm UTC](https://vapor.discourse.group/t/how-to-reduce-domain-size/225/4 "2022-09-07T19:35:30Z")

</div>

Could you take two screenshots for me? 1) Select your Volume Renderer and go to the geometry tab, and 2) Select the Scene-\>Annotation tab. This will display the extents of your Volume, and the extents of the entire domain.

Mine look like the following:

 ![Screen Shot 2022-09-07 at 1.32.57 PM](https://global.discourse-cdn.com/free1/uploads/vapor/original/1X/2591395ace7a7d121c825d17d9f98cde463bc4e1.jpeg)  
 ![Screen Shot 2022-09-07 at 1.33.18 PM](https://global.discourse-cdn.com/free1/uploads/vapor/original/1X/8bc485c11228b414aae9276cb906eaeb3206f140.jpeg)

---

<div class="post-metadata">

**Author:** ![liuchihl](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@liuchihl](https://vapor.discourse.group/u/liuchihl)\
**Post date:** [September 8, 2022, 3:08pm UTC](https://vapor.discourse.group/t/how-to-reduce-domain-size/225/5 "2022-09-08T15:08:49Z")

</div>

Hi Scott,

Strangely, when I reopen VAPOR and upload the file this morning, I got the exact domain size as yours!  
I don’t understand what was going on previously where the domain can be that large.  
But this somehow solves the problem! Thanks!

Chih-Lun

---

<div class="post-metadata">

**Author:** ![pearse](https://yyz2.discourse-cdn.com/free1/user_avatar/vapor.discourse.group/pearse/32/177_2.png) [@pearse](https://vapor.discourse.group/u/pearse)\
**Post date:** [September 8, 2022, 4:51pm UTC](https://vapor.discourse.group/t/how-to-reduce-domain-size/225/6 "2022-09-08T16:51:56Z")

</div>

Hmm I guess that could be good or bad depending on your perspective. If it happens again, please reach out and we’ll try to get to the bottom of it.

---

<div class="post-metadata">

**Author:** ![liuchihl](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@liuchihl](https://vapor.discourse.group/u/liuchihl)\
**Post date:** [September 8, 2022, 5:35pm UTC](https://vapor.discourse.group/t/how-to-reduce-domain-size/225/7 "2022-09-08T17:35:34Z")

</div>

RIght, that’s certainly not the best way to solve an issue.
